Skip to content
Browse files

fix unthreaded build

  • Loading branch information...
1 parent 508bdb8 commit 7c9bae1be633be46bc454bd34f55263b24aafca8 @nikodemus nikodemus committed Sep 16, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 src/code/thread.lisp
View
5 src/code/thread.lisp
@@ -228,15 +228,16 @@ held mutex, WITH-RECURSIVE-LOCK allows recursive lock attempts to succeed."
#!-sb-thread
(progn
(defun call-with-mutex (function mutex value waitp timeout)
- (declare (ignore mutex value waitp timeout)
+ (declare (ignore mutex waitp timeout)
(function function))
(unless (or (null value) (eq *current-thread* value))
(error "~S called with non-nil :VALUE that isn't the current thread."
'with-mutex))
(funcall function))
(defun call-with-recursive-lock (function mutex waitp timeout)
- (declare (ignore mutex) (function function waitp timeout))
+ (declare (ignore mutex waitp timeout)
+ (function function))
(funcall function))
(defun call-with-recursive-system-lock (function lock)

0 comments on commit 7c9bae1

Please sign in to comment.
Something went wrong with that request. Please try again.