Home
last modified time | relevance | path

Searched refs:WaitForSingleObject (Results 1 – 25 of 123) sorted by relevance

12345

/external/libchrome/base/win/
Dscoped_handle_test_dll.cc33 ::WaitForSingleObject(thread_params->start_event, INFINITE); in ThreadFunc()
62 ::WaitForSingleObject(ready_event, INFINITE); in InternalRunThreadTest()
78 ::WaitForSingleObject(thread, INFINITE); in InternalRunThreadTest()
/external/libvpx/libvpx/vpx_util/
Dvpx_thread.h70 #define WaitForSingleObject(obj, timeout) \ macro
96 return (WaitForSingleObject(thread, INFINITE) != WAIT_OBJECT_0 || in pthread_join()
167 if (WaitForSingleObject(condition->waiting_sem_, 0) == WAIT_OBJECT_0) { in pthread_cond_signal()
172 ok &= (WaitForSingleObject(condition->received_sem_, INFINITE) != in pthread_cond_signal()
190 ok = (WaitForSingleObject(condition->signal_event_, INFINITE) == in pthread_cond_wait()
/external/compiler-rt/test/asan/TestCases/Windows/
Dthread_stack_reuse.cc27 if (WAIT_OBJECT_0 != WaitForSingleObject(thr, INFINITE)) in main()
33 if (WAIT_OBJECT_0 != WaitForSingleObject(thr, INFINITE)) in main()
Dthread_stack_array_right_oob.cc26 WaitForSingleObject(thr, INFINITE); in main()
Dthread_stack_array_left_oob.cc26 WaitForSingleObject(thr, INFINITE); in main()
Ddll_thread_stack_array_left_oob.cc33 if (WAIT_OBJECT_0 != WaitForSingleObject(thr, INFINITE)) in test_function()
Dqueue_user_work_item_report.cc27 if (WAIT_OBJECT_0 != WaitForSingleObject(done, 10 * 1000)) in main()
Dbeginthreadex.cc18 if (WAIT_OBJECT_0 != WaitForSingleObject(thr, INFINITE)) in main()
Dthread_simple.cc18 if (WAIT_OBJECT_0 != WaitForSingleObject(thr, INFINITE)) in main()
Dthread_suspended.cc19 if (WAIT_OBJECT_0 != WaitForSingleObject(thr, INFINITE)) in main()
Dthread_stress.cc23 if (WAIT_OBJECT_0 != WaitForSingleObject(thr[i], INFINITE)) in main()
Dqueue_user_work_item.cc47 unsigned wait_result = WaitForSingleObject(done, 10 * 1000); in main()
/external/webp/src/utils/
Dthread_utils.c71 #define WaitForSingleObject(obj, timeout) \ macro
100 return (WaitForSingleObject(thread, INFINITE) != WAIT_OBJECT_0 || in pthread_join()
166 if (WaitForSingleObject(condition->waiting_sem_, 0) == WAIT_OBJECT_0) { in pthread_cond_signal()
171 ok &= (WaitForSingleObject(condition->received_sem_, INFINITE) != in pthread_cond_signal()
189 ok = (WaitForSingleObject(condition->signal_event_, INFINITE) == in pthread_cond_wait()
/external/mesa3d/include/c11/
Dthreads_win32.h190 WaitForSingleObject(cond->sem_gate, INFINITE); in impl_cond_do_signal()
216 WaitForSingleObject(cond->sem_gate, INFINITE); in impl_cond_do_wait()
222 w = WaitForSingleObject(cond->sem_queue, xt ? impl_xtime2msec(xt) : INFINITE); in impl_cond_do_wait()
244 WaitForSingleObject(cond->sem_gate, INFINITE); in impl_cond_do_wait()
253 WaitForSingleObject(cond->sem_queue, INFINITE); in impl_cond_do_wait()
562 w = WaitForSingleObject(thr, INFINITE); in thrd_join()
/external/deqp/framework/delibs/dethread/win32/
DdeSemaphoreWin32.c68 DWORD ret = WaitForSingleObject(handle, INFINITE); in deSemaphore_decrement()
76 DWORD ret = WaitForSingleObject(handle, 0); in deSemaphore_tryDecrement()
DdeMutexWin32.c110 DWORD ret = WaitForSingleObject(handle, INFINITE); in deMutex_lock()
124 DWORD ret = WaitForSingleObject(handle, 0); in deMutex_tryLock()
/external/v8/src/base/platform/
Dsemaphore.cc159 DWORD result = WaitForSingleObject(native_handle_, INFINITE);
171 DWORD result = WaitForSingleObject(native_handle_, INFINITE - 1);
178 DWORD result = WaitForSingleObject(
/external/python/cpython2/Python/
Dthread_wince.h108 waitResult = WaitForSingleObject(aLock, (waitflag ? INFINITE : 0)); in PyThread_acquire_lock()
113 waitResult = WaitForSingleObject(aLock, waitflag ? 3000 : 0); in PyThread_acquire_lock()
/external/chromium-trace/catapult/third_party/pyserial/serial/
Dwin32.py159 WaitForSingleObject = _stdcall_libraries['kernel32'].WaitForSingleObject variable
160 WaitForSingleObject.restype = DWORD
161 WaitForSingleObject.argtypes = [HANDLE, DWORD]
/external/libusb/libusb/os/
Dthreads_windows.c67 result = WaitForSingleObject(*mutex, INFINITE); in usbi_mutex_lock()
91 result = WaitForSingleObject(*mutex, 0); in usbi_mutex_trylock()
191 r2 = WaitForSingleObject(pos->event, timeout_ms); in usbi_cond_intwait()
/external/skia/src/utils/
DSkThreadUtils_win.cpp36 if (WaitForSingleObject(winData->fCancelEvent, 0) == WAIT_OBJECT_0) { in thread_start()
98 WaitForSingleObject(winData->fHandle, INFINITE); in join()
/external/wpa_supplicant_8/src/l2_packet/
Dl2_packet_winpcap.c121 WaitForSingleObject(l2->rx_done, INFINITE); in l2_packet_receive_cb()
137 if (WaitForSingleObject(l2->rx_notify, in l2_packet_receive_thread()
268 WaitForSingleObject(l2->rx_thread_done, 2000) != WAIT_OBJECT_0) { in l2_packet_deinit_timeout()
/external/dng_sdk/source/
Ddng_pthread.cpp425 if (::WaitForSingleObject(primaryHandle, INFINITE) != WAIT_OBJECT_0) in dng_pthread_join()
603 DWORD result = ::WaitForSingleObject(semaphore, timeout_milliseconds); in cond_wait_internal()
638 ::WaitForSingleObject(semaphore, INFINITE); in cond_wait_internal()
942 result = (WaitForSingleObject(semaphore, INFINITE) == WAIT_OBJECT_0) ? 0 : -1; in dng_pthread_rwlock_rdlock()
1072 result = (WaitForSingleObject(semaphore, INFINITE) == WAIT_OBJECT_0) ? 0 : -1; in dng_pthread_rwlock_wrlock()
/external/pcre/dist2/src/sljit/
DsljitUtils.c77 WaitForSingleObject(allocator_mutex, INFINITE); in allocator_grab_lock()
97 WaitForSingleObject(global_mutex, INFINITE); in sljit_grab_lock()
/external/jemalloc/test/src/
Dthd.c17 if (WaitForSingleObject(thd, INFINITE) == WAIT_OBJECT_0 && ret) { in thd_join()

12345