calendar.threads: simplify.
parent
6f87c2afc7
commit
94e9563a15
|
|
@ -1,7 +1,6 @@
|
|||
! Copyright (C) 2011 Slava Pestov.
|
||||
! See http://factorcode.org/license.txt for BSD license.
|
||||
USING: calendar math system threads ;
|
||||
USING: calendar threads ;
|
||||
IN: calendar.threads
|
||||
|
||||
M: duration sleep
|
||||
duration>nanoseconds >integer nano-count + sleep-until ;
|
||||
M: duration sleep duration>nanoseconds sleep ;
|
||||
|
|
|
|||
Loading…
Reference in New Issue