X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fthreads.impure.lisp;h=eb4fe5a1b71a7c461777acdfdcdbbf05178758a3;hb=d8659f1e656234e8f0f47d5295b503dd6cff4aba;hp=24cd6056e75d698d50c8814a6e5297ed12a7f698;hpb=776a2f1275624352bbba37b03dabea03ec13a9e5;p=sbcl.git diff --git a/tests/threads.impure.lisp b/tests/threads.impure.lisp index 24cd605..eb4fe5a 100644 --- a/tests/threads.impure.lisp +++ b/tests/threads.impure.lisp @@ -16,6 +16,8 @@ (use-package :test-util) (use-package "ASSERTOID") +(setf sb-unix::*on-dangerous-select* :error) + (defun wait-for-threads (threads) (mapc (lambda (thread) (sb-thread:join-thread thread :default nil)) threads) (assert (not (some #'sb-thread:thread-alive-p threads)))) @@ -489,6 +491,7 @@ (format t "~&thread startup sigmask test done~%") +;; FIXME: What is this supposed to test? (sb-debug::enable-debugger) (let* ((main-thread *current-thread*) (interruptor-thread @@ -496,7 +499,8 @@ (sleep 2) (interrupt-thread main-thread #'break) (sleep 2) - (interrupt-thread main-thread #'continue))))) + (interrupt-thread main-thread #'continue)) + :name "interruptor"))) (with-session-lock (*session*) (sleep 3)) (loop while (thread-alive-p interruptor-thread)))