Lines Matching refs:sem_t
17 sem_t sem;
84 int sem_destroy(sem_t *semaphore) in sem_destroy()
105 int sem_getvalue(sem_t *semaphore, int *value) in sem_getvalue()
121 int sem_init(sem_t *semaphore, int pshared, unsigned int value) in sem_init()
144 int sem_post(sem_t *semaphore) in sem_post()
160 int sem_timedwait(sem_t *semaphore, struct timespec *abstime) in sem_timedwait()
199 int sem_trywait(sem_t *semaphore) in sem_trywait()
214 int sem_wait(sem_t *semaphore) in sem_wait()
221 sem_t *sem_open(const char *name, int oflags, ...) in sem_open()
237 return (sem_t *)SEM_FAILED; in sem_open()
242 return (sem_t *)SEM_FAILED; in sem_open()
248 return (sem_t *)SEM_FAILED; in sem_open()
345 int sem_close(sem_t *sem) in sem_close()
362 int nsem_get_ref_count(sem_t *sem) in nsem_get_ref_count()