Home
last modified time | relevance | path

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

12345678910>>...12

/reactos/modules/rostests/winetests/ntdll/
H A Dthreadpool.c120 result = WaitForSingleObject(semaphore, 1000); in test_RtlQueueWorkItem()
125 result = WaitForSingleObject(semaphore, 1000); in test_RtlQueueWorkItem()
130 result = WaitForSingleObject(semaphore, 1000); in test_RtlQueueWorkItem()
135 result = WaitForSingleObject(semaphore, 1000); in test_RtlQueueWorkItem()
140 result = WaitForSingleObject(semaphore, 1000); in test_RtlQueueWorkItem()
226 result = WaitForSingleObject(semaphores[1], 0); in test_RtlRegisterWait()
244 result = WaitForSingleObject(semaphores[1], 0); in test_RtlRegisterWait()
358 result = WaitForSingleObject(event, 200); in test_RtlRegisterWait()
395 result = WaitForSingleObject(event, 200); in test_RtlRegisterWait()
453 result = WaitForSingleObject(event, 1000); in test_RtlRegisterWait()
[all …]
H A Dprocess.c57 ret = WaitForSingleObject(event, 500); in test_NtSuspendProcess()
65 ret = WaitForSingleObject(event, 200); in test_NtSuspendProcess()
72 ret = WaitForSingleObject(event, 200); in test_NtSuspendProcess()
84 ret = WaitForSingleObject(event, 200); in test_NtSuspendProcess()
90 ret = WaitForSingleObject(event, 200); in test_NtSuspendProcess()
103 ret = WaitForSingleObject(event, 200); in test_NtSuspendProcess()
109 ret = WaitForSingleObject(event, 200); in test_NtSuspendProcess()
115 ret = WaitForSingleObject(event, 200); in test_NtSuspendProcess()
123 ret = WaitForSingleObject(event, 200); in test_NtSuspendProcess()
142 ret = WaitForSingleObject(event, 200); in test_NtSuspendProcess()
[all …]
H A Dchange.c102 r = WaitForSingleObject( hEvent, 100 ); in test_ntncdf()
105 r = WaitForSingleObject( hdir, 100 ); in test_ntncdf()
111 r = WaitForSingleObject( hdir, 100 ); in test_ntncdf()
114 r = WaitForSingleObject( hEvent, 100 ); in test_ntncdf()
142 r = WaitForSingleObject( hdir, 0 ); in test_ntncdf()
148 r = WaitForSingleObject( hdir, 100 ); in test_ntncdf()
151 r = WaitForSingleObject( hdir, 100 ); in test_ntncdf()
222 r = WaitForSingleObject( hdir, 100 ); in test_ntncdf_async()
240 r = WaitForSingleObject( hdir, 0 ); in test_ntncdf_async()
261 r = WaitForSingleObject( hdir, 0 ); in test_ntncdf_async()
[all …]
/reactos/modules/rostests/winetests/winhttp/
H A Dnotification.c240 WaitForSingleObject( info.wait, INFINITE ); in test_connection_cache()
273 WaitForSingleObject( info.wait, INFINITE ); in test_connection_cache()
283 WaitForSingleObject( info.wait, INFINITE ); in test_connection_cache()
339 WaitForSingleObject( info.wait, INFINITE ); in test_connection_cache()
371 WaitForSingleObject( info.wait, INFINITE ); in test_connection_cache()
381 WaitForSingleObject( info.wait, INFINITE ); in test_connection_cache()
474 WaitForSingleObject( info.wait, INFINITE ); in test_redirect()
567 WaitForSingleObject( info.wait, INFINITE ); in test_async()
576 WaitForSingleObject( info.wait, INFINITE ); in test_async()
593 WaitForSingleObject( info.wait, INFINITE ); in test_async()
[all …]
/reactos/modules/rostests/winetests/kernel32/
H A Dsync.c1705 WaitForSingleObject(hp1, 1000); in test_condvars_consumer_producer()
1706 WaitForSingleObject(hp2, 1000); in test_condvars_consumer_producer()
1707 WaitForSingleObject(hp3, 1000); in test_condvars_consumer_producer()
1935 WaitForSingleObject(hp, 100); in test_condvars_base()
1936 WaitForSingleObject(hc, 100); in test_condvars_base()
2345 WaitForSingleObject(h1, 100); in test_srwlock_base()
2346 WaitForSingleObject(h2, 100); in test_srwlock_base()
2347 WaitForSingleObject(h3, 100); in test_srwlock_base()
2453 WaitForSingleObject(h1, 1000); in test_srwlock_example()
2454 WaitForSingleObject(h2, 1000); in test_srwlock_example()
[all …]
H A Dchange.c46 status = WaitForSingleObject(change, 100); in NotificationThread()
78 status = WaitForSingleObject(thread, 5000); in FinishNotificationThread()
290 r = WaitForSingleObject( handle, 0 ); in test_ffcn()
296 r = WaitForSingleObject( handle, 0 ); in test_ffcn()
299 r = WaitForSingleObject( handle, 0 ); in test_ffcn()
305 r = WaitForSingleObject( handle, 0 ); in test_ffcn()
311 r = WaitForSingleObject( handle, 0 ); in test_ffcn()
314 r = WaitForSingleObject( handle, 0 ); in test_ffcn()
509 r = WaitForSingleObject( ov.hEvent, 0 ); in test_readdirectorychanges()
684 r = WaitForSingleObject( ov.hEvent, 0 ); in test_readdirectorychanges_null()
[all …]
H A Dthread.c371 ret = WaitForSingleObject(hEvent, 1000); in test_CreateRemoteThread()
378 ret = WaitForSingleObject(hEvent, 1000); in test_CreateRemoteThread()
382 ret = WaitForSingleObject(hThread, 1000); in test_CreateRemoteThread()
391 ret = WaitForSingleObject(hThread, 1000); in test_CreateRemoteThread()
402 ret = WaitForSingleObject(hEvent, 1000); in test_CreateRemoteThread()
458 error=WaitForSingleObject(thread[i],5000); in test_CreateThread_basic()
502 ret = WaitForSingleObject(thread[0],100); in test_CreateThread_basic()
1005 ret = WaitForSingleObject(thread,100); in test_GetThreadExitCode()
1051 WaitForSingleObject( event, INFINITE ); in test_SetThreadContext()
1078 WaitForSingleObject( thread, INFINITE ); in test_SetThreadContext()
[all …]
H A Dprocess.c2549 dwret = WaitForSingleObject(pi.hProcess, 1000); in test_IsProcessInJob()
2587 dwret = WaitForSingleObject(pi.hProcess, 1000); in test_TerminateJobObject()
2830 dwret = WaitForSingleObject(job, 100); in test_WaitForJobObject()
2838 dwret = WaitForSingleObject(job, 100); in test_WaitForJobObject()
2844 dwret = WaitForSingleObject(job, 500); in test_WaitForJobObject()
2865 dwret = WaitForSingleObject(job, 100); in test_WaitForJobObject()
2877 dwret = WaitForSingleObject(job, 100); in test_WaitForJobObject()
2892 dwret = WaitForSingleObject(job, 100); in test_WaitForJobObject()
2900 dwret = WaitForSingleObject(job, 100); in test_WaitForJobObject()
3274 WaitForSingleObject(pi.hProcess, 10000); in test_SuspendProcessNewThread()
[all …]
H A Dloader.c2149 ret = WaitForSingleObject(mutex, 0); in mutex_thread_proc()
2197 ret = WaitForSingleObject(semaphore, 0); in semaphore_thread_proc()
2375 ret = WaitForSingleObject(event, 0); in dll_entry_point()
2378 ret = WaitForSingleObject(mutex, 0); in dll_entry_point()
2649 WaitForSingleObject(event, 3000); in child_process()
2657 WaitForSingleObject(event, 3000); in child_process()
2677 ret = WaitForSingleObject(event, 0); in child_process()
2679 ret = WaitForSingleObject(mutex, 0); in child_process()
2681 ret = WaitForSingleObject(semaphore, 0); in child_process()
2790 WaitForSingleObject(ack_event, 1000); in child_process()
[all …]
/reactos/modules/rostests/kmtests/ntos_io/
H A DIoReadWrite_user.c49 WaitStatus = WaitForSingleObject(EventHandle, 0); in TestRead()
81 WaitStatus = WaitForSingleObject(EventHandle, 0); in TestRead()
102 WaitStatus = WaitForSingleObject(EventHandle, 0); in TestRead()
135 WaitStatus = WaitForSingleObject(EventHandle, 0); in TestRead()
203 WaitStatus = WaitForSingleObject(EventHandle, 0); in TestWrite()
232 WaitStatus = WaitForSingleObject(EventHandle, 0); in TestWrite()
253 WaitStatus = WaitForSingleObject(EventHandle, 0); in TestWrite()
282 WaitStatus = WaitForSingleObject(EventHandle, 0); in TestWrite()
/reactos/modules/rostests/tests/thread_msg/
H A Dthread_msg.c28 WaitForSingleObject(hWaitForFailure,INFINITE); in thread()
84 WaitForSingleObject( hOkToPostThreadMessage, INFINITE ); in main()
93 WaitForSingleObject( hOkToTerminate, INFINITE ); in main()
/reactos/modules/rostests/winetests/user32/
H A Dbroadcast.c43 if (WaitForSingleObject(hevent, wparam) == WAIT_TIMEOUT) in main_window_procA()
133 ok(WaitForSingleObject(hevent, 0) != WAIT_OBJECT_0, "Synchronous message sent instead\n"); in test_parameters()
139 ok(WaitForSingleObject(hevent, 0) != WAIT_TIMEOUT, "Asynchronous message sent instead\n"); in test_parameters()
194 ok(WaitForSingleObject(hevent, 0) != WAIT_OBJECT_0, "Synchronous message sent instead\n"); in test_parametersEx()
200 ok(WaitForSingleObject(hevent, 0) != WAIT_TIMEOUT, "Asynchronous message sent instead\n"); in test_parametersEx()
/reactos/drivers/wdm/audio/backpln/audio_test/
H A Daudio_test.c285 if (WaitForSingleObject(&Overlapped.hEvent, 5000) != WAIT_OBJECT_0) in main()
305 if (WaitForSingleObject(&Overlapped.hEvent, 5000) != WAIT_OBJECT_0) in main()
325 if (WaitForSingleObject(&Overlapped.hEvent, 5000) != WAIT_OBJECT_0) in main()
360 if (WaitForSingleObject(&Overlapped.hEvent, 5000) != WAIT_OBJECT_0) in main()
376 if (WaitForSingleObject(&Overlapped.hEvent, 5000) != WAIT_OBJECT_0) in main()
390 if (WaitForSingleObject(&Overlapped.hEvent, 5000) != WAIT_OBJECT_0) in main()
/reactos/sdk/lib/drivers/sound/mmebuddy/
H A Dthread.c84 WaitForSingleObject(Thread->Events.Ready, INFINITE); in CallSoundThread()
97 WaitForSingleObject(Thread->Events.Done, INFINITE); in CallSoundThread()
127 WaitForSingleObject(Thread->Events.Ready, INFINITE); in TerminateSoundThread()
140 WaitForSingleObject(Thread->Events.Done, INFINITE); in TerminateSoundThread()
143 WaitResult = WaitForSingleObject(Thread->Handle, INFINITE); in TerminateSoundThread()
/reactos/modules/rostests/apitests/shlwapi/
H A DSHLoadIndirectString.c26 dwRet = WaitForSingleObject(hEvent, 1); in execute_test()
52 dwRet = WaitForSingleObject(hEvent, 1); in execute_test()
61 dwRet = WaitForSingleObject(hEvent, 1); in execute_test()
/reactos/modules/rostests/apitests/ntdll/
H A DRtlCriticalSection.c247 WaitForSingleObject(hEventThread1Cont, INFINITE); in ThreadProc1()
267 WaitForSingleObject(hEventThread2Cont, INFINITE); in ThreadProc2()
341 WaitForSingleObject(hEventThread1Ready, INFINITE); in Test_Acquire()
360 WaitForSingleObject(hEventThread2Ready, INFINITE); in Test_Acquire()
379 WaitForSingleObject(hThread1, INFINITE); in Test_Acquire()
380 WaitForSingleObject(hThread2, INFINITE); in Test_Acquire()
/reactos/modules/rostests/tests/event/
H A Devent.c22 …printf( "WaitForSingleObject %s\n", ( WaitForSingleObject( events[0], INFINITE ) == WAIT_OBJECT_0 … in main()
31 …printf( "WaitForSingleObject with timeout %s\n", ( WaitForSingleObject( events[0], 100 ) == WAIT_T… in main()
/reactos/dll/directx/wine/quartz/
H A Dpin.c383 WaitForSingleObject(This->hEventStateChanged, INFINITE); in PullPin_Release()
562 WaitForSingleObject(This->thread_sleepy, INFINITE); in PullPin_Thread_Main()
589 WaitForSingleObject(This->hEventStateChanged, INFINITE); in PullPin_InitProcessing()
595 assert(WaitForSingleObject(This->thread_sleepy, 0) == WAIT_TIMEOUT); in PullPin_InitProcessing()
636 assert(WaitForSingleObject(This->thread_sleepy, 0) == WAIT_TIMEOUT); in PullPin_StartProcessing()
661 assert(WaitForSingleObject(This->thread_sleepy, 0) == WAIT_TIMEOUT); in PullPin_PauseProcessing()
702 assert(WaitForSingleObject(This->thread_sleepy, 0) == WAIT_TIMEOUT); in PullPin_StopProcessing()
710 if (WaitForSingleObject(This->hEventStateChanged, dwMilliseconds) == WAIT_TIMEOUT) in PullPin_WaitForStateChange()
830 WaitForSingleObject(This->hThread, INFINITE); in PullPin_Disconnect()
/reactos/dll/win32/msports/
H A Dcomdb.c46 WaitForSingleObject(pComDB->hMutex, INFINITE); in ComDBClaimNextFreePort()
148 WaitForSingleObject(pComDB->hMutex, INFINITE); in ComDBClaimPort()
291 WaitForSingleObject(pComDB->hMutex, INFINITE); in ComDBGetCurrentPortUsage()
410 WaitForSingleObject(pComDB->hMutex, INFINITE); in ComDBOpen()
510 WaitForSingleObject(pComDB->hMutex, INFINITE); in ComDBReleasePort()
604 WaitForSingleObject(pComDB->hMutex, INFINITE); in ComDBResizeDatabase()
/reactos/modules/rostests/apitests/kernel32/
H A DMailslot.c54 WaitForSingleObject(hThread, INFINITE); in MailSlotReader()
71 WaitForSingleObject(hThread, INFINITE); in StartTestCORE10188()
/reactos/base/services/umpnpmgr/
H A Dinstall.c222 WaitForSingleObject(ProcessInfo.hProcess, INFINITE); in InstallDevice()
225 DeviceInstalled = WaitForSingleObject(hInstallEvent, 0) == WAIT_OBJECT_0; in InstallDevice()
593 WaitForSingleObject(hInstallEvent, INFINITE); in DeviceInstallThread()
600 WaitForSingleObject(hDeviceInstallListMutex, INFINITE); in DeviceInstallThread()
608 WaitForSingleObject(hDeviceInstallListNotEmpty, INFINITE); in DeviceInstallThread()
/reactos/modules/rostests/tests/tmrqueue/
H A Dtmrqueue.c50 WaitForSingleObject(hEvent, INFINITE); in RunTests()
220 WaitForSingleObject(Info.Test2.hWaitEvent, INFINITE); in Test2()
302 WaitForSingleObject(Info.Test3.hWaitEvent, INFINITE); in Test3()
327 WaitForSingleObject(Info.Test3.hNotification, INFINITE); in Test3()
/reactos/modules/rostests/tests/mutex/
H A Dmutex.c35 dwError = WaitForSingleObject(hMutex, INFINITE); in thread1()
65 dwError = WaitForSingleObject(hMutex, INFINITE); in thread2()
/reactos/base/system/msiexec/
H A Dservice.c104 WaitForSingleObject(kill_event, INFINITE); in ServiceExecutionThread()
151 WaitForSingleObject(thread, INFINITE); in ServiceMain()
/reactos/base/applications/sndrec32/
H A Daudio_wavein.cpp326 WaitForSingleObject(data_flushed_event, INFINITE); in stop_recording()
357 WaitForSingleObject(_this->wakeup_recthread, INFINITE); in recording_procedure()
404 WaitForSingleObject(_this->wakeup_recthread, INFINITE); in recording_procedure()

12345678910>>...12