1.0.39.13: restore darwin/ppc building
[sbcl.git] / src / code / cross-thread.lisp
index 1c63565..743357a 100644 (file)
@@ -15,6 +15,9 @@
   (declare (ignore name value))
   nil)
 
+#!+(and sb-lutex sb-thread)
+(defun make-lutex () nil)
+
 (defmacro with-mutex ((mutex) &body body)
   (declare (ignore mutex))
   `(locally ,@body))
   (declare (ignore mutex))
   `(locally ,@body))
 
+(defun make-spinlock (&key name value)
+  (declare (ignore name value))
+  nil)
+
+(defun get-spinlock (spinlock)
+  (declare (ignore spinlock))
+  t)
 
+(defun release-spinlock (spinlock)
+  (declare (ignore spinlock))
+  nil)
 
+(defmacro with-spinlock ((spinlock) &body body)
+  (declare (ignore spinlock))
+  `(locally ,@body))