1.0.8.7: printer-control variables affecting MEMBER & ASSOC transforms
[sbcl.git] / tests / threads.pure.lisp
index 6b58125..3d7d524 100644 (file)
             :fails-on :sb-lutex)
   (let* ((lock (make-mutex))
          (foo (get-mutex lock))
+         (bar nil)
          (thread (make-thread (lambda ()
                                 (sb-sys:without-interrupts
-                                  (with-mutex (lock)
-                                    :fini))))))
+                                    (with-mutex (lock)
+                                      (setf bar t)))))))
     (sleep 1)
     (assert (thread-alive-p thread))
     (terminate-thread thread)
@@ -70,4 +71,5 @@
     (release-mutex lock)
     (sleep 1)
     (assert (not (thread-alive-p thread)))
-    (assert (eq :fini (join-thread thread)))))
+    (assert (eq :aborted (join-thread thread :default :aborted)))
+    (assert bar)))