This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: does usleep() sleep more than it's supposed to?
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 26 Feb 2007 11:57:08 +0100
- Subject: Re: does usleep() sleep more than it's supposed to?
- References: <45E292D6.30906@gmail.com>
- Reply-to: cygwin at cygwin dot com
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/