Searched refs:received_sem_ (Results 1 – 3 of 3) sorted by relevance
/external/libvpx/libvpx/vpx_util/ |
D | vpx_thread.h | 43 HANDLE received_sem_; member 138 ok &= (CloseHandle(condition->received_sem_) != 0); in pthread_cond_destroy() 151 condition->received_sem_ = CreateSemaphore(NULL, 0, MAX_DECODE_THREADS, NULL); in pthread_cond_init() 153 if (condition->waiting_sem_ == NULL || condition->received_sem_ == NULL || in pthread_cond_init() 172 ok &= (WaitForSingleObject(condition->received_sem_, INFINITE) != in pthread_cond_broadcast() 189 ok &= (WaitForSingleObject(condition->received_sem_, INFINITE) != in pthread_cond_signal() 209 ok &= ReleaseSemaphore(condition->received_sem_, 1, NULL); in pthread_cond_wait()
|
/external/libaom/libaom/aom_util/ |
D | aom_thread.h | 46 HANDLE received_sem_; member 136 ok &= (CloseHandle(condition->received_sem_) != 0); in pthread_cond_destroy() 149 condition->received_sem_ = CreateSemaphore(NULL, 0, MAX_DECODE_THREADS, NULL); in pthread_cond_init() 151 if (condition->waiting_sem_ == NULL || condition->received_sem_ == NULL || in pthread_cond_init() 170 ok &= (WaitForSingleObject(condition->received_sem_, INFINITE) != in pthread_cond_signal() 187 ok &= (WaitForSingleObject(condition->received_sem_, INFINITE) != in pthread_cond_broadcast() 207 ok &= ReleaseSemaphore(condition->received_sem_, 1, NULL); in pthread_cond_wait()
|
/external/webp/src/utils/ |
D | thread_utils.c | 33 HANDLE received_sem_; member 137 ok &= (CloseHandle(condition->received_sem_) != 0); in pthread_cond_destroy() 149 condition->received_sem_ = CreateSemaphore(NULL, 0, 1, NULL); in pthread_cond_init() 152 condition->received_sem_ == NULL || in pthread_cond_init() 171 ok &= (WaitForSingleObject(condition->received_sem_, INFINITE) != in pthread_cond_signal() 191 ok &= ReleaseSemaphore(condition->received_sem_, 1, NULL); in pthread_cond_wait()
|