X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fclos-interrupts.impure.lisp;h=8935ab749b377b0929725f4e243f87b0a857ff2c;hb=a28478f4f22bf6753eb18c44d5205726f87a0ead;hp=619544977210b4a32ed9a54563d9f28c0c88e483;hpb=d38be21048d0a9df3add788415fbdddaf9784580;p=sbcl.git diff --git a/tests/clos-interrupts.impure.lisp b/tests/clos-interrupts.impure.lisp index 6195449..8935ab7 100644 --- a/tests/clos-interrupts.impure.lisp +++ b/tests/clos-interrupts.impure.lisp @@ -49,14 +49,16 @@ (*interrupting* t)) ;; Test both interrupting yourself and using another thread ;; for to interrupting. - (write-line "interrupt-1") - (sb-thread:join-thread (sb-thread:make-thread - (lambda () - (sb-thread:interrupt-thread - self - (lambda () - (compute-test 1 2)))))) - (write-line "interrupt-2") + #+sb-thread + (progn + (write-line "/interrupt-other") + (sb-thread:join-thread (sb-thread:make-thread + (lambda () + (sb-thread:interrupt-thread + self + (lambda () + (compute-test 1 2))))))) + (write-line "/interrupt-self") (sb-thread:interrupt-thread self (lambda () (compute-test 1 2)))))) (defvar *interrupted-gfs* nil)