X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Ftarget-unithread.lisp;h=651573d43c8078f10af34fd63ff804b58046ba27;hb=f73c1f391342c797b8daebe4e8c27e5923341b6d;hp=33f4b68ce21ae8efddbea1bec4b7abe1a5e99b51;hpb=5a2b6553fbbbb62fa789350facd0d56bb136045f;p=sbcl.git diff --git a/src/code/target-unithread.lisp b/src/code/target-unithread.lisp index 33f4b68..651573d 100644 --- a/src/code/target-unithread.lisp +++ b/src/code/target-unithread.lisp @@ -101,8 +101,10 @@ (t `(progn ,@body)))) -;;; what's the best thing to do with these on unithread? -#+NIl +;;; what's the best thing to do with these on unithread? commented +;;; functions are the thread versions, just to remind me what they do +;;; there +#+nil (defun condition-wait (queue lock) "Atomically release LOCK and enqueue ourselves on QUEUE. Another thread may subsequently notify us using CONDITION-NOTIFY, at which @@ -121,11 +123,12 @@ time we reacquire LOCK and return to the caller." "Notify one of the processes waiting on QUEUE" (signal-queue-head queue)) - -;;;; multiple independent listeners - -(defvar *session-lock* nil) +(defun maybe-install-futex-functions () nil) ;;;; job control +(defun init-job-control () t) (defun debugger-wait-until-foreground-thread (stream) t) +(defun get-foreground () t) +(defun release-foreground (&optional next) t) +(defun terminate-session ())