diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2021-07-29 18:13:47 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2021-07-29 18:13:47 +0300 |
commit | edf48054e936055c86ef81ee99f6affb20e90d7c (patch) | |
tree | 0bd9199d480d7c5a6076d9c5004130122e710ce4 /winsup/cygwin/thread.h | |
parent | d4e7869ee4505e2861e3ccdee7c187e56e6df142 (diff) |
Cygwin: implement sem_clockwait
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'winsup/cygwin/thread.h')
-rw-r--r-- | winsup/cygwin/thread.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/winsup/cygwin/thread.h b/winsup/cygwin/thread.h index c574a3915..6b699ccb6 100644 --- a/winsup/cygwin/thread.h +++ b/winsup/cygwin/thread.h @@ -679,7 +679,8 @@ public: static int post (sem_t *sem); static int getvalue (sem_t *sem, int *sval); static int trywait (sem_t *sem); - static int timedwait (sem_t *sem, const struct timespec *abstime); + static int clockwait (sem_t *sem, clockid_t clock_id, + const struct timespec *abstime); static int getinternal (sem_t *sem, int *sfd, unsigned long long *shash, LUID *sluid, unsigned int *sval); |