diff options
Diffstat (limited to 'winsup/cygwin/include/semaphore.h')
-rw-r--r-- | winsup/cygwin/include/semaphore.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/winsup/cygwin/include/semaphore.h b/winsup/cygwin/include/semaphore.h index 860c2bfca..96f7c6f88 100644 --- a/winsup/cygwin/include/semaphore.h +++ b/winsup/cygwin/include/semaphore.h @@ -30,9 +30,13 @@ extern "C" /* Semaphores */ int sem_init (sem_t * sem, int pshared, unsigned int value); int sem_destroy (sem_t * sem); + sem_t *sem_open (const char *name, int oflag, ...); + int sem_close (sem_t *sem); int sem_wait (sem_t * sem); int sem_trywait (sem_t * sem); + int sem_timedwait (sem_t * sem, const struct timespec *abstime); int sem_post (sem_t * sem); + int sem_getvalue (sem_t * sem, int *sval); #ifdef __cplusplus } |