Home
last modified time | relevance | path

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

/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/utils/
A Dthread_utils.c32 HANDLE waiting_sem_; member
136 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