projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
1.0.11.35: fixed bug 417
[sbcl.git]
/
src
/
code
/
timer.lisp
diff --git
a/src/code/timer.lisp
b/src/code/timer.lisp
index
5352385
..
774ee2b
100644
(file)
--- a/
src/code/timer.lisp
+++ b/
src/code/timer.lisp
@@
-135,8
+135,6
@@
;; FUNCTION until the other is called, from when it does nothing.
(let ((mutex (sb!thread:make-mutex))
(cancelled-p nil))
;; FUNCTION until the other is called, from when it does nothing.
(let ((mutex (sb!thread:make-mutex))
(cancelled-p nil))
- #!-sb-thread
- (declare (ignore mutex))
(list
#'(lambda ()
(sb!thread:with-recursive-lock (mutex)
(list
#'(lambda ()
(sb!thread:with-recursive-lock (mutex)
@@
-203,9
+201,7
@@
from now. For timers with a repeat interval it returns true."
(defmacro with-scheduler-lock ((&optional) &body body)
;; don't let the SIGALRM handler mess things up
(defmacro with-scheduler-lock ((&optional) &body body)
;; don't let the SIGALRM handler mess things up
- `(sb!sys:without-interrupts
- (sb!thread:with-mutex (*scheduler-lock*)
- ,@body)))
+ `(sb!thread::call-with-system-mutex (lambda () ,@body) *scheduler-lock*))
(defun under-scheduler-lock-p ()
#!-sb-thread
(defun under-scheduler-lock-p ()
#!-sb-thread