From 94e9563a15e4fdc65ccc7d58a1e42559ed3006a2 Mon Sep 17 00:00:00 2001 From: John Benediktsson Date: Sun, 20 Apr 2014 19:22:56 -0700 Subject: [PATCH] calendar.threads: simplify. --- basis/calendar/threads/threads.factor | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/basis/calendar/threads/threads.factor b/basis/calendar/threads/threads.factor index efdbb6923d..0501d4180a 100644 --- a/basis/calendar/threads/threads.factor +++ b/basis/calendar/threads/threads.factor @@ -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 ;