Home
last modified time | relevance | path

Searched refs:received_sem_ (Results 1 – 2 of 2) sorted by relevance

/external/libvpx/libvpx/vpx_util/
Dvpx_thread.h43 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_signal()
192 ok &= ReleaseSemaphore(condition->received_sem_, 1, NULL); in pthread_cond_wait()
/external/webp/src/utils/
Dthread_utils.c33 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()