This is the mail archive of the cygwin-patches mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] clock_nanosleep(2)


On Wed, 2011-07-20 at 09:56 +0200, Corinna Vinschen wrote:
> This doesn't look right.  In contrast to nanosleep, clock_nanosleep
> is not subsumed under the _POSIX_TIMERS option.  In fact it's the only
> function under the _POSIX_CLOCK_SELECTION option.

I did some searching, and there are actually two more:

http://pubs.opengroup.org/onlinepubs/009695399/functions/pthread_condattr_getclock.html

The behaviour of the following functions are also affected by this
option:

http://pubs.opengroup.org/onlinepubs/009695399/functions/clock_getres.html
http://pubs.opengroup.org/onlinepubs/009695399/functions/pthread_cond_wait.html

(It should be noted that the Clock Selection option was merged into the
Base with POSIX.1-2008.)

How should we proceed now?


Yaakov



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]