calendar.threads: simplify.

db4
John Benediktsson 2014-04-20 19:22:56 -07:00
parent 6f87c2afc7
commit 94e9563a15
1 changed files with 2 additions and 3 deletions

View File

@ -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 ;