[slime-devel] Use of with-lock inside without-interrupts

Martin Simmons martin at lispworks.com
Tue Aug 5 19:26:44 UTC 2008

I see some new changes in swank-lispworks.lisp where mp:with-lock is used
inside mp:without-interrupts.  What is the purpose of that?

It is wrong because it will lead to deadlock if the lock is held by another
thread (you can't wait if you are inside without-interrupts).  I suggest
removing the without-interrupts because the lock does is better anyway.

Martin Simmons
LispWorks Ltd

More information about the slime-devel mailing list