* Incorrect use of JOIN-THREAD.
: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)
(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)))
;;; checkins which aren't released. (And occasionally for internal
;;; versions, especially for internal versions off the main CVS
;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
-"1.0.7.10"
+"1.0.7.11"