Bug #3587: windows: unable to sleep < 0.015s
http://redmine.ruby-lang.org/issues/show/3587

Author: Roger Pack
Status: Open, Priority: Normal
ruby -v: ruby 1.9.3dev (2010-07-19 trunk 28684) [i386-mingw32]

>> sleep 0.0001; Hitimes::Interval.measure { 2.times { sleep 0.000001}}
=> 0.03124279761813303

(it's always 0.03s)
This surprised me a bit, since it differed from Linux behavior.
Thanks!


----------------------------------------
http://redmine.ruby-lang.org