projects
/
sbcl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd8c9f8
)
Add workaround to a flaky semaphore timeout test.
author
Juho Snellman
<jsnell@iki.fi>
Thu, 12 Apr 2012 15:10:25 +0000
(17:10 +0200)
committer
Juho Snellman
<jsnell@iki.fi>
Thu, 12 Apr 2012 21:07:05 +0000
(23:07 +0200)
tests/threads.pure.lisp
patch
|
blob
|
history
diff --git
a/tests/threads.pure.lisp
b/tests/threads.pure.lisp
index
5d72bd9
..
717fb36
100644
(file)
--- a/
tests/threads.pure.lisp
+++ b/
tests/threads.pure.lisp
@@
-471,7
+471,7
@@
collect (make-thread
(lambda ()
(sleep (random 0.02))
- (wait-on-semaphore sem :timeout 0.01)))))))
+ (wait-on-semaphore sem :timeout 0.5)))))))
(loop repeat 5
do (signal-semaphore sem 2))
(let ((ok (count-if #'join-thread threads)))