mtravers / wuwei

WuWei -- effortless Ajax web UIs from Common Lisp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

wuwei-examples does not build

quicklisp opened this issue · comments

I get this:

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

I'm using SBCL 1.0.54+ on AMD64 Linux.

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

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.