Lines Matching refs:cond
477 int uv_cond_init(uv_cond_t* cond) { in uv_cond_init() argument
478 InitializeConditionVariable(&cond->cond_var); in uv_cond_init()
483 void uv_cond_destroy(uv_cond_t* cond) { in uv_cond_destroy() argument
485 (void) &cond; in uv_cond_destroy()
489 void uv_cond_signal(uv_cond_t* cond) { in uv_cond_signal() argument
490 WakeConditionVariable(&cond->cond_var); in uv_cond_signal()
494 void uv_cond_broadcast(uv_cond_t* cond) { in uv_cond_broadcast() argument
495 WakeAllConditionVariable(&cond->cond_var); in uv_cond_broadcast()
499 void uv_cond_wait(uv_cond_t* cond, uv_mutex_t* mutex) { in uv_cond_wait() argument
500 if (!SleepConditionVariableCS(&cond->cond_var, mutex, INFINITE)) in uv_cond_wait()
505 int uv_cond_timedwait(uv_cond_t* cond, uv_mutex_t* mutex, uint64_t timeout) { in uv_cond_timedwait() argument
506 if (SleepConditionVariableCS(&cond->cond_var, mutex, (DWORD)(timeout / 1e6))) in uv_cond_timedwait()