projects
/
kmrcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r9992: new function
[kmrcl.git]
/
processes.lisp
diff --git
a/processes.lisp
b/processes.lisp
index 36fa3d952c10e0861386f19b4fa396777cacbc5a..f89d010931b1a3f8e8eabe77b123ada76954c2c7 100644
(file)
--- a/
processes.lisp
+++ b/
processes.lisp
@@
-32,7
+32,7
@@
#+allegro (mp:make-process-lock :name name)
#+cmu (mp:make-lock name)
#+lispworks (mp:make-lock :name name)
#+allegro (mp:make-process-lock :name name)
#+cmu (mp:make-lock name)
#+lispworks (mp:make-lock :name name)
- #+sb
cl
-thread (sb-thread:make-mutex :name name)
+ #+sb-thread (sb-thread:make-mutex :name name)
)
(defmacro with-lock-held ((lock) &body body)
)
(defmacro with-lock-held ((lock) &body body)
@@
-42,9
+42,9
@@
`(mp:with-lock-held (,lock) ,@body)
#+lispworks
`(mp:with-lock (,lock) ,@body)
`(mp:with-lock-held (,lock) ,@body)
#+lispworks
`(mp:with-lock (,lock) ,@body)
- #+sb
cl
-thread
+ #+sb-thread
`(sb-thread:with-recursive-lock (,lock) ,@body)
`(sb-thread:with-recursive-lock (,lock) ,@body)
- #-(or allegro cmu lispworks sb
cl
-thread)
+ #-(or allegro cmu lispworks sb-thread)
`(progn ,@body)
)
`(progn ,@body)
)
@@
-54,9
+54,9
@@
`(mp:with-timeout (,seconds) ,@body)
#+cmu
`(mp:with-timeout (,seconds) ,@body)
`(mp:with-timeout (,seconds) ,@body)
#+cmu
`(mp:with-timeout (,seconds) ,@body)
- #+sb
cl
-thread
+ #+sb-thread
`(sb-ext:with-timeout ,seconds ,@body)
`(sb-ext:with-timeout ,seconds ,@body)
- #-(or allegro cmu sb
cl
-thread)
+ #-(or allegro cmu sb-thread)
`(progn ,@body)
)
`(progn ,@body)
)