Searched refs:waiting_sem_ (Results 1 – 1 of 1) sorted by relevance
35 HANDLE waiting_sem_; member98 ok &= (CloseHandle(condition->waiting_sem_) != 0); in pthread_cond_destroy()107 condition->waiting_sem_ = CreateSemaphore(NULL, 0, 1, NULL); in pthread_cond_init()110 if (condition->waiting_sem_ == NULL || in pthread_cond_init()121 if (WaitForSingleObject(condition->waiting_sem_, 0) == WAIT_OBJECT_0) { in pthread_cond_signal()137 if (!ReleaseSemaphore(condition->waiting_sem_, 1, NULL)) in pthread_cond_wait()