Home
last modified time | relevance | path

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

12345

/external/dbus/dbus/
Ddbus-sysdeps-thread-win.c124 WaitForSingleObject ((HANDLE *) mutex, INFINITE); in _dbus_platform_cmutex_lock()
130 WaitForSingleObject ((HANDLE *) mutex, INFINITE); in _dbus_platform_rmutex_lock()
188 _dbus_assert (WaitForSingleObject (event, 0) == WAIT_TIMEOUT); in _dbus_condvar_wait_win32()
198 retval = WaitForSingleObject (event, milliseconds); in _dbus_condvar_wait_win32()
210 retval = WaitForSingleObject (event, 0); in _dbus_condvar_wait_win32()
/external/libvpx/libvpx/vpx_util/
Dvpx_thread.h67 return (WaitForSingleObject(thread, INFINITE) != WAIT_OBJECT_0 || in pthread_join()
124 if (WaitForSingleObject(condition->waiting_sem_, 0) == WAIT_OBJECT_0) { in pthread_cond_signal()
129 ok &= (WaitForSingleObject(condition->received_sem_, INFINITE) != in pthread_cond_signal()
144 ok = (WaitForSingleObject(condition->signal_event_, INFINITE) == in pthread_cond_wait()
/external/opencv3/3rdparty/libwebp/utils/
Dthread.c51 return (WaitForSingleObject(thread, INFINITE) != WAIT_OBJECT_0 || in pthread_join()
102 if (WaitForSingleObject(condition->waiting_sem_, 0) == WAIT_OBJECT_0) { in pthread_cond_signal()
107 ok &= (WaitForSingleObject(condition->received_sem_, INFINITE) != in pthread_cond_signal()
122 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_left_oob.cc26 WaitForSingleObject(thr, INFINITE); in main()
Dthread_stack_array_right_oob.cc26 WaitForSingleObject(thr, INFINITE); in main()
Ddll_thread_stack_array_left_oob.cc33 if (WAIT_OBJECT_0 != WaitForSingleObject(thr, INFINITE)) in test_function()
Dbeginthreadex.cc18 if (WAIT_OBJECT_0 != WaitForSingleObject(thr, INFINITE)) in main()
Dqueue_user_work_item_report.cc27 if (WAIT_OBJECT_0 != WaitForSingleObject(done, 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()
Dqueue_user_work_item.cc50 if (WAIT_OBJECT_0 != WaitForSingleObject(done, INFINITE)) in main()
Dthread_stress.cc23 if (WAIT_OBJECT_0 != WaitForSingleObject(thr[i], INFINITE)) in main()
/external/webp/src/utils/
Dthread.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()
190 ok = (WaitForSingleObject(condition->signal_event_, INFINITE) == in pthread_cond_wait()
/external/opencv3/3rdparty/openexr/IlmThread/
DIlmThreadSemaphoreWin32.cpp106 if (::WaitForSingleObject (_semaphore, INFINITE) != WAIT_OBJECT_0) in wait()
117 return ::WaitForSingleObject (_semaphore, 0) == WAIT_OBJECT_0; in tryWait()
DIlmThreadWin32.cpp77 DWORD status = ::WaitForSingleObject (_thread, INFINITE); in ~Thread()
/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/chromium-trace/catapult/telemetry/third_party/pyserial/serial/
Dwin32.py159 WaitForSingleObject = _stdcall_libraries['kernel32'].WaitForSingleObject variable
160 WaitForSingleObject.restype = DWORD
161 WaitForSingleObject.argtypes = [HANDLE, DWORD]
/external/v8/src/base/platform/
Dsemaphore.cc176 DWORD result = WaitForSingleObject(native_handle_, INFINITE);
188 DWORD result = WaitForSingleObject(native_handle_, INFINITE - 1);
195 DWORD result = WaitForSingleObject(
/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/libvpx/libvpx/vp8/common/
Dthreading.h32 #define pthread_join(thread, result) ((WaitForSingleObject((thread),INFINITE)!=WAIT_OBJECT_0) || !C…
89 #define sem_wait(sem) (int)(WAIT_OBJECT_0 != WaitForSingleObject(*sem,INFINITE))
/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/dist/sljit/
DsljitUtils.c77 WaitForSingleObject(allocator_mutex, INFINITE); in allocator_grab_lock()
97 WaitForSingleObject(global_mutex, INFINITE); in sljit_grab_lock()

12345