Home
last modified time | relevance | path

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

/external/libvpx/libvpx/vpx_util/
Dvpx_thread.h39 HANDLE received_sem_; member
102 ok &= (CloseHandle(condition->received_sem_) != 0); in pthread_cond_destroy()
111 condition->received_sem_ = CreateSemaphore(NULL, 0, MAX_DECODE_THREADS, NULL); in pthread_cond_init()
114 condition->received_sem_ == NULL || in pthread_cond_init()
129 ok &= (WaitForSingleObject(condition->received_sem_, INFINITE) != in pthread_cond_signal()
146 ok &= ReleaseSemaphore(condition->received_sem_, 1, NULL); in pthread_cond_wait()
/external/opencv3/3rdparty/libwebp/utils/
Dthread.c81 ok &= (CloseHandle(condition->received_sem_) != 0); in pthread_cond_destroy()
89 condition->received_sem_ = CreateSemaphore(NULL, 0, 1, NULL); in pthread_cond_init()
92 condition->received_sem_ == NULL || in pthread_cond_init()
107 ok &= (WaitForSingleObject(condition->received_sem_, INFINITE) != in pthread_cond_signal()
124 ok &= ReleaseSemaphore(condition->received_sem_, 1, NULL); in pthread_cond_wait()
Dthread.h34 HANDLE received_sem_; member
/external/webp/src/utils/
Dthread.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()
192 ok &= ReleaseSemaphore(condition->received_sem_, 1, NULL); in pthread_cond_wait()