diff options
author | Yaakov Selkowitz <yselkowi@redhat.com> | 2011-07-21 13:39:22 +0400 |
---|---|---|
committer | Yaakov Selkowitz <yselkowi@redhat.com> | 2011-07-21 13:39:22 +0400 |
commit | 8a7b0a00df71469999c82fab13a0b76ed3eb68e3 (patch) | |
tree | 93d30d5607a2988ace16bd2dd784bfc314dde49d /winsup/cygwin/posix.sgml | |
parent | 792c8bcff2d1f9102408f86edb057f158b2b5090 (diff) |
* cygwin.din (pthread_condattr_getclock): Export.
(pthread_condattr_setclock): Export.
* posix.sgml (std-notimpl): Move pthread_condattr_getclock and
pthread_condattr_setclock from here...
(std-susv4): ... to here.
* sysconf.cc (sca): Set _SC_CLOCK_SELECTION to _POSIX_CLOCK_SELECTION.
* thread.cc: (pthread_condattr::pthread_condattr): Initialize clock_id.
(pthread_cond::pthread_cond): Initialize clock_id.
(pthread_cond_timedwait): Use clock_gettime() instead of gettimeofday()
in order to support all allowed clocks.
(pthread_condattr_getclock): New function.
(pthread_condattr_setclock): New function.
* thread.h (class pthread_condattr): Add clock_id member.
(class pthread_cond): Ditto.
* include/pthread.h: Remove obsolete comment.
(pthread_condattr_getclock): Declare.
(pthread_condattr_setclock): Declare.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
Diffstat (limited to 'winsup/cygwin/posix.sgml')
-rw-r--r-- | winsup/cygwin/posix.sgml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/posix.sgml b/winsup/cygwin/posix.sgml index 8e509f640..1b122ebd3 100644 --- a/winsup/cygwin/posix.sgml +++ b/winsup/cygwin/posix.sgml @@ -554,8 +554,10 @@ also IEEE Std 1003.1-2008 (POSIX.1-2008).</para> pthread_cond_timedwait pthread_cond_wait pthread_condattr_destroy + pthread_condattr_getclock pthread_condattr_getpshared pthread_condattr_init + pthread_condattr_setclock pthread_condattr_setpshared pthread_create pthread_detach @@ -1390,8 +1392,6 @@ also IEEE Std 1003.1-2008 (POSIX.1-2008).</para> posix_typed_[...] powl pthread_barrier[...] - pthread_condattr_getclock - pthread_condattr_setclock pthread_mutexattr_getrobust pthread_mutexattr_setrobust pthread_mutex_consistent |