X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Fthread.lisp;h=09c2cc456d9252808885607cda781a5396e51d13;hb=04a651e749befd65ffd8bf49f689b6e7d55607e2;hp=a780b16887ad4e72fd9c14f2465f7946233be14d;hpb=cb557a29b8b833b7753c2940e776eaa981633a9f;p=sbcl.git diff --git a/src/code/thread.lisp b/src/code/thread.lisp index a780b16..09c2cc4 100644 --- a/src/code/thread.lisp +++ b/src/code/thread.lisp @@ -94,8 +94,8 @@ stale value, use MUTEX-OWNER instead." ,@body)) (sb!xc:defmacro with-spinlock ((lock) &body body) - (deprecation-warning :early "1.0.53.11" 'with-recursive-spinlock 'with-mutex) - `(with-lock (,lock) + (deprecation-warning :early "1.0.53.11" 'with-spinlock 'with-mutex) + `(with-mutex (,lock) ,@body)) (sb!xc:defmacro without-thread-waiting-for ((&key already-without-interrupts) &body body)