X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Fthread.lisp;h=50be15f2bee91cf962df3a12491a7eac6deefdf6;hb=dd357f3be290498fb7ef172696d986337f517a93;hp=288c94679f79d51a390bf5bb498d1f279d7793c8;hpb=f737ba9ef111af26ff36ca5c090fe58c33834a1d;p=sbcl.git diff --git a/src/code/thread.lisp b/src/code/thread.lisp index 288c946..50be15f 100644 --- a/src/code/thread.lisp +++ b/src/code/thread.lisp @@ -13,10 +13,10 @@ ;; this punning with MAKE-LISP-OBJ depends for its safety on ;; the frame pointer being a lispobj-aligned integer. While ;; it is, then MAKE-LISP-OBJ will always return a FIXNUM, so - ;; we're safe to do that. Should this ever change, than + ;; we're safe to do that. Should this ever change, this ;; MAKE-LISP-OBJ could return something that looks like a ;; pointer, but pointing into neverneverland, which will - ;; confuse GC compiletely. -- CSR, 2003-06-03 + ;; confuse GC completely. -- CSR, 2003-06-03 (get-mutex ,mutex (sb!kernel:make-lisp-obj (sb!sys:sap-int ,cfp)))) (unwind-protect (progn ,@body) @@ -32,14 +32,14 @@ (defun get-foreground () (when (not (eql (mutex-value *session-lock*) (current-thread-id))) (get-mutex *session-lock*)) - (sb!sys:enable-interrupt :sigint #'sb!unix::sigint-handler) + (sb!sys:enable-interrupt sb!unix:sigint #'sb!unix::sigint-handler) t) #!-sb-thread (defun get-foreground () t) #!+sb-thread (defun release-foreground () - (sb!sys:enable-interrupt :sigint :ignore) + (sb!sys:enable-interrupt sb!unix:sigint :ignore) (release-mutex *session-lock*) t) #!-sb-thread