0.8.7.4:
[sbcl.git] / src / code / target-unithread.lisp
index e11ec9d..651573d 100644 (file)
@@ -56,7 +56,7 @@
     (let ((h (car (waitqueue-data queue))))
       (setf (waitqueue-lock queue) 0)
       (when h
-       (sb!unix:unix-kill h :sigcont)))))
+       (sb!unix:unix-kill h sb!unix:sigcont)))))
 
 ;;;; mutex
 
        (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 ())