This is the mail archive of the
cygwin-developers
mailing list for the Cygwin project.
CLOCK_MONOTONIC in Timers functions
- From: "Yaakov (Cygwin/X)" <yselkowitz at users dot sourceforge dot net>
- To: cygwin-developers <cygwin-developers at cygwin dot com>
- Date: Wed, 03 Aug 2011 14:00:04 -0500
- Subject: CLOCK_MONOTONIC in Timers functions
POSIX requires the Timers functions (timer_create, timer_[gs]ettime,
etc.) to also support CLOCK_MONOTONIC if the _POSIX_MONOTONIC_CLOCK
option is available. I'm willing to take a look at making this happen
when I have the chance. (Getting gcc 4.5 out is my first priority now.)
I see that timer.cc uses its own WaitForSingleObject calls instead of
using cancelable_wait(). Is there a good reason for this, or could this
be rewritten in terms of the latter?
Yaakov