[PATCH] clock_nanosleep(2)

Yaakov (Cygwin/X) yselkowitz@users.sourceforge.net
Tue Aug 2 04:09:00 GMT 2011


On Sun, 2011-07-31 at 10:24 +0200, Corinna Vinschen wrote:
> anything new from the clock_nanosleep frontier?

Sorry, I've been having elusive problems with CVS HEAD that have been
making it hard to test my patch.

Here's what I have so far, FWIW.  So far I've found two problems with
it: the remaining time returned is incorrect, based on testing of
nanosleep(), and the pthread_spin chunk doesn't look right (previously
the timeout would repeat in the while loop, but that won't happen the
way the waitable timer is set up).

I'll try to get back to this as soon as I am able to test this properly.
In the meantime, is there anything obvious I'm missing?


Yaakov

-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygwin-waitable-timer.patch
Type: text/x-patch
Size: 22070 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20110802/093a77ec/attachment.bin>


More information about the Cygwin-patches mailing list