X-Git-Url: http://git.kpe.io/?p=kmrcl.git;a=blobdiff_plain;f=processes.lisp;h=f89d010931b1a3f8e8eabe77b123ada76954c2c7;hp=1cc6a473ed6d3faed93a93d193cb58991af06abb;hb=be59b033c63cc2cb0e5d516f602f6e932b128a4c;hpb=8bbcf109b6cbdfd4c92fe06cc181c56f408b8b82 diff --git a/processes.lisp b/processes.lisp index 1cc6a47..f89d010 100644 --- a/processes.lisp +++ b/processes.lisp @@ -7,7 +7,7 @@ ;;;; Programmer: Kevin M. Rosenberg ;;;; Date Started: June 2003 ;;;; -;;;; $Id: processes.lisp,v 1.4 2003/07/13 04:53:32 kevin Exp $ +;;;; $Id$ ;;;; ************************************************************************* (in-package #:kmrcl) @@ -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 `(sb-thread:with-recursive-lock (,lock) ,@body) - #-(or allegro cmu lispworks sbcl-thread) + #-(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) )