2020-06-24 11:38:08 +00:00
|
|
|
#ifndef _SEMAPHORE_H
|
|
|
|
|
#include_next <semaphore.h>
|
|
|
|
|
|
|
|
|
|
#ifndef _ISOMAC
|
|
|
|
|
extern __typeof (sem_post) __sem_post;
|
2025-08-17 10:40:20 +00:00
|
|
|
libc_hidden_proto (__sem_post)
|
2025-08-17 10:40:21 +00:00
|
|
|
|
|
|
|
|
extern int __sem_clockwait (sem_t *__sem,
|
|
|
|
|
clockid_t clock,
|
|
|
|
|
const struct timespec *__abstime);
|
|
|
|
|
libc_hidden_proto (__sem_clockwait)
|
|
|
|
|
extern int __sem_timedwait (sem_t *__sem,
|
|
|
|
|
const struct timespec *__abstime);
|
|
|
|
|
libc_hidden_proto (__sem_timedwait)
|
|
|
|
|
|
|
|
|
|
extern int __sem_trywait (sem_t *__sem);
|
|
|
|
|
libc_hidden_proto (__sem_trywait)
|
2020-06-24 11:38:08 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#endif
|