Lines Matching refs:sem_t
88 static inline atomic_uint* SEM_TO_ATOMIC_POINTER(sem_t* sem) { in SEM_TO_ATOMIC_POINTER()
103 int sem_init(sem_t* sem, int pshared, unsigned int value) { in sem_init()
120 int sem_destroy(sem_t*) { in sem_destroy() argument
124 sem_t* sem_open(const char*, int, ...) { in sem_open()
129 int sem_close(sem_t*) { in sem_close() argument
214 int sem_wait(sem_t* sem) { in sem_wait()
233 static int __sem_timedwait(sem_t* sem, const timespec* abs_timeout, bool use_realtime_clock) { in __sem_timedwait()
270 int sem_timedwait(sem_t* sem, const timespec* abs_timeout) { in sem_timedwait()
274 int sem_timedwait_monotonic_np(sem_t* sem, const timespec* abs_timeout) { in sem_timedwait_monotonic_np()
278 int sem_clockwait(sem_t* sem, clockid_t clock, const timespec* abs_timeout) { in sem_clockwait()
289 int sem_post(sem_t* sem) { in sem_post()
306 int sem_trywait(sem_t* sem) { in sem_trywait()
316 int sem_getvalue(sem_t* sem, int* sval) { in sem_getvalue()