From: KOSAKI Motohiro Date: 2010-07-20T00:19:46+09:00 Subject: [ruby-core:31355] Re: [Bug #3587] windows: unable to sleep < 0.015s Hi 2010/7/19 Roger Pack : > 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! Typically, windows has 1/64sec (15.625ms) tick resolution. but linux has 1/1000sec tick resolution. So, I don't surprised this so much. Do you have any improvement idea?