Lines Matching refs:hEvent
99 HANDLE hEvent; member
156 HANDLE hEvent = (HANDLE) TlsGetValue(TLSKey); in opj_cond_wait() local
157 if (hEvent == NULL) { in opj_cond_wait()
158 hEvent = CreateEvent(NULL, /* security attributes */ in opj_cond_wait()
162 assert(hEvent); in opj_cond_wait()
164 TlsSetValue(TLSKey, hEvent); in opj_cond_wait()
173 item->hEvent = hEvent; in opj_cond_wait()
185 WaitForSingleObject(hEvent, INFINITE); in opj_cond_wait()
200 SetEvent(psIter->hEvent); in opj_cond_signal()
227 HANDLE hEvent = NULL; in opj_thread_callback_adapter() local
239 hEvent = (HANDLE) TlsGetValue(TLSKey); in opj_thread_callback_adapter()
247 if (hEvent) { in opj_thread_callback_adapter()
248 CloseHandle(hEvent); in opj_thread_callback_adapter()