tools.threads: report correct sleep time

db4
Slava Pestov 2009-11-21 17:45:47 -06:00
parent 5ccce283fa
commit bbb95db5e6
1 changed files with 2 additions and 2 deletions

4
basis/tools/threads/threads.factor Normal file → Executable file
View File

@ -14,8 +14,8 @@ IN: tools.threads
] with-cell
[
sleep-entry>> [
key>> nano-count 1000 /i [-] number>string write
" us" write
key>> nano-count [-] number>string write
" nanos" write
] when*
] with-cell ;