[PATCH] clock_nanosleep(2)

Corinna Vinschen corinna-cygwin@cygwin.com
Wed Aug 3 07:45:00 GMT 2011

On Aug  3 01:20, Yaakov (Cygwin/X) wrote:
> On Tue, 2011-08-02 at 17:42 +0200, Corinna Vinschen wrote:
> > Does that mean the return value from NtQueryTimer is unreliable?
> > In what way is it wrong?  
> I'm not sure.  When I run an STC (attached), it works as expected.  In
> cancelable_wait(), however, it returns the negative system uptime.  Is
> Cygwin doing something to make this occur?

That sounds weird.  How should Cygwin influence what an independent OS
function returns?  And you sure it's the system uptime?  Wow.

I'll have a look into that, but I doubt I see more than you.


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

More information about the Cygwin-patches mailing list