Lines Matching refs:cond
11 nxt_thread_cond_create(nxt_thread_cond_t *cond) in nxt_thread_cond_create() argument
15 err = pthread_cond_init(cond, NULL); in nxt_thread_cond_create()
17 nxt_thread_log_debug("pthread_cond_init(%p)", cond); in nxt_thread_cond_create()
27 nxt_thread_cond_destroy(nxt_thread_cond_t *cond) in nxt_thread_cond_destroy() argument
31 err = pthread_cond_destroy(cond); in nxt_thread_cond_destroy()
36 nxt_thread_log_debug("pthread_cond_destroy(%p)", cond); in nxt_thread_cond_destroy()
41 nxt_thread_cond_signal(nxt_thread_cond_t *cond) in nxt_thread_cond_signal() argument
45 err = pthread_cond_signal(cond); in nxt_thread_cond_signal()
47 nxt_thread_log_debug("pthread_cond_signal(%p)", cond); in nxt_thread_cond_signal()
58 nxt_thread_cond_wait(nxt_thread_cond_t *cond, nxt_thread_mutex_t *mtx, in nxt_thread_cond_wait() argument
70 nxt_log_debug(thr->log, "pthread_cond_wait(%p) enter", cond); in nxt_thread_cond_wait()
72 err = pthread_cond_wait(cond, mtx); in nxt_thread_cond_wait()
77 nxt_log_debug(thr->log, "pthread_cond_wait(%p) exit", cond); in nxt_thread_cond_wait()
85 cond, timeout); in nxt_thread_cond_wait()
93 err = pthread_cond_timedwait(cond, mtx, &ts); in nxt_thread_cond_wait()
99 cond, err); in nxt_thread_cond_wait()