Searched refs:waiting_sem_ (Results 1 – 1 of 1) sorted by relevance
32 HANDLE waiting_sem_; member136 ok &= (CloseHandle(condition->waiting_sem_) != 0); in pthread_cond_destroy()148 condition->waiting_sem_ = CreateSemaphore(NULL, 0, 1, NULL); in pthread_cond_init()151 if (condition->waiting_sem_ == NULL || in pthread_cond_init()166 if (WaitForSingleObject(condition->waiting_sem_, 0) == WAIT_OBJECT_0) { in pthread_cond_signal()186 if (!ReleaseSemaphore(condition->waiting_sem_, 1, NULL)) return 1; in pthread_cond_wait()
Completed in 3 milliseconds