X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Fthread.lisp;h=6e6ebecd26041488d5f5170fba61f18ca45bc466;hb=e7ef1082bd3e7f3851de9d90c5dbddf226a71382;hp=54092dedee2cebadc2ba5d53d8818e06c1c5b13b;hpb=496071a75429677a2c064e4995c379d3ba6ec458;p=sbcl.git diff --git a/src/code/thread.lisp b/src/code/thread.lisp index 54092de..6e6ebec 100644 --- a/src/code/thread.lisp +++ b/src/code/thread.lisp @@ -159,7 +159,6 @@ provided the default value is used for the mutex." (declare (function function)) (flet ((%call-with-system-mutex () (dx-let (got-it) - #-sb-xc-host (declare (optimize sb!c::stack-allocate-value-cells)) (unwind-protect (when (setf got-it (get-mutex mutex)) (funcall function)) @@ -181,7 +180,6 @@ provided the default value is used for the mutex." (declare (function function)) (without-interrupts (dx-let (got-it) - #-sb-xc-host (declare (optimize sb!c::stack-allocate-value-cells)) (unwind-protect (when (setf got-it (get-spinlock spinlock)) (funcall function)) @@ -194,7 +192,6 @@ provided the default value is used for the mutex." (flet ((%call-with-system-spinlock () (dx-let ((inner-lock-p (eq *current-thread* (spinlock-value spinlock))) (got-it nil)) - #-sb-xc-host (declare (optimize sb!c::stack-allocate-value-cells)) (unwind-protect (when (or inner-lock-p (setf got-it (get-spinlock spinlock))) (funcall function)) @@ -212,7 +209,6 @@ provided the default value is used for the mutex." (defun call-with-spinlock (function spinlock) (declare (function function)) (dx-let ((got-it nil)) - #-sb-xc-host (declare (optimize sb!c::stack-allocate-value-cells)) (without-interrupts (unwind-protect (when (setf got-it (allow-with-interrupts @@ -224,7 +220,6 @@ provided the default value is used for the mutex." (defun call-with-mutex (function mutex value waitp) (declare (function function)) (dx-let ((got-it nil)) - #-sb-xc-host (declare (optimize sb!c::stack-allocate-value-cells)) (without-interrupts (unwind-protect (when (setq got-it (allow-with-interrupts @@ -237,7 +232,6 @@ provided the default value is used for the mutex." (declare (function function)) (dx-let ((inner-lock-p (eq (mutex-%owner mutex) *current-thread*)) (got-it nil)) - #-sb-xc-host (declare (optimize sb!c::stack-allocate-value-cells)) (without-interrupts (unwind-protect (when (or inner-lock-p (setf got-it (allow-with-interrupts @@ -252,7 +246,6 @@ provided the default value is used for the mutex." (declare (function function)) (dx-let ((inner-lock-p (eq (spinlock-value spinlock) *current-thread*)) (got-it nil)) - #-sb-xc-host (declare (optimize sb!c::stack-allocate-value-cells)) (without-interrupts (unwind-protect (when (or inner-lock-p (setf got-it (allow-with-interrupts