fixed yet another race condition in a test

svn: r5530
This commit is contained in:
Matthew Flatt 2007-02-01 06:03:02 +00:00
parent 1ecaecbd99
commit 26766f9cfa

View File

@ -1650,7 +1650,7 @@
(let ([t (thread (lambda () (long-loop void)))])
(sleep 0.05)
(break-thread t)
(sleep 0.05)
(sync (system-idle-evt))
(test #f thread-running? t))
(printf "Trying long chain...\n")
(let ([k (long-loop (lambda ()