Home
last modified time | relevance | path

Searched refs:nxt_sem_t (Results 1 – 3 of 3) sorted by relevance

/unit/src/
H A Dnxt_semaphore.h13 typedef sem_t nxt_sem_t; typedef
21 } nxt_sem_t; typedef
26 NXT_EXPORT nxt_int_t nxt_sem_init(nxt_sem_t *sem, nxt_uint_t count);
27 NXT_EXPORT void nxt_sem_destroy(nxt_sem_t *sem);
28 NXT_EXPORT nxt_int_t nxt_sem_post(nxt_sem_t *sem);
29 NXT_EXPORT nxt_err_t nxt_sem_wait(nxt_sem_t *sem, nxt_nsec_t timeout);
H A Dnxt_semaphore.c35 nxt_sem_init(nxt_sem_t *sem, nxt_uint_t count) in nxt_sem_init()
48 nxt_sem_destroy(nxt_sem_t *sem) in nxt_sem_destroy()
60 nxt_sem_post(nxt_sem_t *sem) in nxt_sem_post()
75 nxt_sem_wait(nxt_sem_t *sem, nxt_nsec_t timeout) in nxt_sem_wait()
172 nxt_sem_init(nxt_sem_t *sem, nxt_uint_t count) in nxt_sem_init()
189 nxt_sem_destroy(nxt_sem_t *sem) in nxt_sem_destroy()
197 nxt_sem_post(nxt_sem_t *sem) in nxt_sem_post()
216 nxt_sem_wait(nxt_sem_t *sem, nxt_nsec_t timeout) in nxt_sem_wait()
H A Dnxt_thread_pool.h20 nxt_sem_t sem;