r10151: updates
[kmrcl.git] / processes.lisp
index 36fa3d952c10e0861386f19b4fa396777cacbc5a..88aa05113da3613e973a863dd318fc2d4d275be9 100644 (file)
@@ -32,7 +32,7 @@
   #+allegro (mp:make-process-lock :name name)
   #+cmu (mp:make-lock name)
   #+lispworks (mp:make-lock :name name)
-  #+sbcl-thread (sb-thread:make-mutex :name name)
+  #+sb-thread (sb-thread:make-mutex :name name)
   )
 
 (defmacro with-lock-held ((lock) &body body)
@@ -42,9 +42,9 @@
   `(mp:with-lock-held (,lock) ,@body)
   #+lispworks
   `(mp:with-lock (,lock) ,@body)
-  #+sbcl-thread
-  `(sb-thread:with-recursive-lock (,lock) ,@body)
-  #-(or allegro cmu lispworks sbcl-thread)
+  #+sb-thread
+  `(sb-thread:with-mutex (,lock) ,@body)
+  #-(or allegro cmu lispworks sb-thread)
   `(progn ,@body)
   )
 
@@ -54,9 +54,9 @@
   `(mp:with-timeout (,seconds) ,@body)
   #+cmu
   `(mp:with-timeout (,seconds) ,@body)
-  #+sbcl-thread
+  #+sb-thread
   `(sb-ext:with-timeout ,seconds ,@body)
-  #-(or allegro cmu sbcl-thread)
+  #-(or allegro cmu sb-thread)
   `(progn ,@body)
   )