Added argument conversion for sleep (prevents a core dump on inexact numbers).
This commit is contained in:
parent
574cbd804e
commit
fd264012b9
|
@ -7,7 +7,8 @@
|
|||
(disable-interrupts!)
|
||||
(enqueue-thread! queue (current-thread))
|
||||
(set! *dozers*
|
||||
(insert (cons (+ (real-time) n) queue)
|
||||
(insert (cons (+ (real-time) (inexact->exact (round n)))
|
||||
queue)
|
||||
*dozers*
|
||||
(lambda (frob1 frob2)
|
||||
(< (car frob1) (car frob2)))))
|
||||
|
|
Loading…
Reference in New Issue