X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fcode%2Fcross-thread.lisp;h=ddc0127276ff3cd75c6ac8950a440938b227cccf;hb=f575ddaffe838c611359430946fe26b80808a35a;hp=743357a66fd26a0ee1fd5dc2148b1bc340e5b0ce;hpb=a6e22347785e8ce3eaf13013cfc69d6aac9c8c0e;p=sbcl.git diff --git a/src/code/cross-thread.lisp b/src/code/cross-thread.lisp index 743357a..ddc0127 100644 --- a/src/code/cross-thread.lisp +++ b/src/code/cross-thread.lisp @@ -15,9 +15,6 @@ (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)) @@ -26,18 +23,6 @@ (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)) +(defmacro barrier ((kind) &body body) + (declare (ignore kind)) + `(progn ,@body))