original commit: 8e6f98b6de8bc623b05e28d59df77aa556e6dd65
This commit is contained in:
Matthew Flatt 2004-01-11 16:35:47 +00:00
parent 04426ca163
commit bc22dd5f45

View File

@ -43,7 +43,8 @@
(let ([s (make-semaphore)])
(thread-resume (thread/suspend-to-kill
(lambda ()
(sleep (max 0 (- t (current-seconds))))
(object-wait-multiple (max 0 (- t (current-seconds)))
nack)
(semaphore-post s)))
(current-thread))
(make-wrapped-waitable s void)))))