Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wuwei-examples does not build #10

Closed
quicklisp opened this issue Dec 9, 2011 · 2 comments
Closed

wuwei-examples does not build #10

quicklisp opened this issue Dec 9, 2011 · 2 comments

Comments

@quicklisp
Copy link

I get this:

The function ACL-COMPAT.MP::*ATOMIC-SPINLOCK* is undefined.

I'm using SBCL 1.0.54+ on AMD64 Linux.

@mtravers
Copy link
Owner

mtravers commented Dec 9, 2011

Works for me (SBCL 1.0.45, on Mac).

Hm, looks like the culprit is here
in portableaserve-20101006-cvs/acl-compat/sbcl/acl-mp.lisp

#+sb-thread
(defvar atomic-spinlock (sb-thread::make-spinlock))

So probably I have an SBCL built with threads, and you don't.

I don't think AServe/WuWei can work on a Lisp without threads.

On Fri, Dec 9, 2011 at 9:26 AM, Zach Beane <
reply@reply.github.com

wrote:

I get this:

The function ACL-COMPAT.MP::ATOMIC-SPINLOCK is undefined.

I'm using SBCL 1.0.54+ on AMD64 Linux.


Reply to this email directly or view it on GitHub:
#10

@quicklisp
Copy link
Author

Turns out it's an SBCL bug with some acl-compat implications as well. acl-compat uses sb-thread::with-spinlock, which was recently broken during the deprecation process. Even when it's fixed in SBCL, it's still deprecated. Nikodemus Siivola suggested that acl-compat should use sb-thread:with-mutex instead.

I'll talk to Nikodemus and possibly Kevin Rosenberg about how to get acl-compat updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants