[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cygwin
Subject:    Re: does usleep() sleep more than it's supposed to?
From:       Corinna Vinschen <corinna-cygwin () cygwin ! com>
Date:       2007-02-26 10:57:08
Message-ID: 20070226105708.GC5577 () calimero ! vinschen ! de
[Download RAW message or body]

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/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic