This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: does usleep() sleep more than it's supposed to?


On Feb 26 15:57, Carlo Florendo wrote:
> I'm writing an application that requires time precisions up to the
> microsecond level.

Though I love the idea to use Cygwin for everything, including stuff
like simulating the universe bit-accurate in realtime, it might be a
teeny bit daring to expect microsecond precision in an emulation layer.
You should contemplate the idea to use native Windows functions if
you need such precision.

Jason is right, btw., see
http://www.opengroup.org/onlinepubs/009695399/functions/usleep.html


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]