projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
1.0.13.10: x86 MOVE-FROM-SIGNED & MOVE-FROM-UNSIGNED hackery
[sbcl.git]
/
tests
/
threads.pure.lisp
diff --git
a/tests/threads.pure.lisp
b/tests/threads.pure.lisp
index
6b58125
..
3d7d524
100644
(file)
--- a/
tests/threads.pure.lisp
+++ b/
tests/threads.pure.lisp
@@
-58,10
+58,11
@@
:fails-on :sb-lutex)
(let* ((lock (make-mutex))
(foo (get-mutex lock))
:fails-on :sb-lutex)
(let* ((lock (make-mutex))
(foo (get-mutex lock))
+ (bar nil)
(thread (make-thread (lambda ()
(sb-sys:without-interrupts
(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)
(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)))
(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)))