Home
last modified time | relevance | path

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

/reactos/dll/win32/qmgr/
H A Dservice.c28 HANDLE stop_event = NULL; variable
51 SetEvent(stop_event); in UpdateStatus()
64 SetEvent(stop_event); in ServiceHandler()
112 stop_event = CreateEventW(NULL, TRUE, FALSE, NULL); in ServiceMain()
113 if (!stop_event) { in ServiceMain()
150 CloseHandle(stop_event); in ServiceMain()
H A Dqmgr.h99 extern HANDLE stop_event DECLSPEC_HIDDEN;
H A Dqmgr.c153 events[0] = stop_event; in fileTransfer()
/reactos/base/services/telnetd/
H A Dserviceentry.c32 static HANDLE stop_event; variable
53 SetEvent( stop_event ); in service_handler()
69 stop_event = CreateEventW( NULL, TRUE, FALSE, NULL ); in serv_main()
87 WaitForSingleObject( stop_event, INFINITE ); in serv_main()
/reactos/modules/rostests/winetests/gdi32/
H A Dgdiobj.c114 HANDLE stop_event; member
134 status = WaitForSingleObject(hgdiobj_event->stop_event, INFINITE); in thread_proc()
154 hgdiobj_event.stop_event = CreateEventA(NULL, 0, 0, NULL); in test_thread_objects()
155 ok(hgdiobj_event.stop_event != NULL, "CreateEvent error %u\n", GetLastError()); in test_thread_objects()
183 SetEvent(hgdiobj_event.stop_event); in test_thread_objects()
193 CloseHandle(hgdiobj_event.stop_event); in test_thread_objects()
/reactos/base/services/nfsd/
H A Dnfs41_daemon.c55 HANDLE stop_event = NULL; variable
158 if (stop_event) in ServiceStop()
159 SetEvent(stop_event); in ServiceStop()
490 stop_event = CreateEvent(NULL, TRUE, FALSE, NULL); in _tmain()
491 if (stop_event == NULL) in _tmain()
508 WaitForSingleObject(stop_event, INFINITE); in _tmain()
/reactos/modules/rostests/winetests/rpcrt4/
H A Dserver.c46 static HANDLE stop_event, stop_wait_event; variable
1041 ok(SetEvent(stop_event), "SetEvent\n"); in s_stop()
2090 ret = WaitForSingleObject(stop_event, 1000); in server()
2101 CloseHandle(stop_event); in server()
2102 stop_event = NULL; in server()
2170 ret = WaitForSingleObject(stop_event, 10000); in test_stop_wait_for_call()
2189 CloseHandle(stop_event); in test_stop_wait_for_call()
2190 stop_event = NULL; in test_stop_wait_for_call()
2302 ret = WaitForSingleObject(stop_event, 1000); in run_server()
2308 CloseHandle(stop_event); in run_server()
[all …]
H A Dcstub.c1335 HANDLE stop_event, ready_event; in local_server_proc() local
1339 stop_event = OpenEventA(EVENT_ALL_ACCESS, FALSE, "wine_cstub_test_server_stop"); in local_server_proc()
1361 hr = CoWaitForMultipleHandles(0, 1000, 1, &stop_event, &index); in local_server_proc()
1377 HANDLE process, stop_event, ready_event; in test_delegated_methods() local
1385 stop_event = CreateEventA(NULL, TRUE, FALSE, "wine_cstub_test_server_stop"); in test_delegated_methods()
1414 SetEvent(stop_event); in test_delegated_methods()
/reactos/dll/win32/mciqtz32/
H A Dmciqtz_private.h48 HANDLE stop_event; member
H A Dmciqtz.c89 wma->stop_event = CreateEventW(NULL, FALSE, FALSE, NULL); in MCIQTZ_drvOpen()
115 CloseHandle(wma->stop_event); in MCIQTZ_drvClose()
336 handle[n++] = wma->stop_event; in MCIQTZ_notifyThread()
414 ResetEvent(wma->stop_event); in MCIQTZ_mciPlay()
523 SetEvent(wma->stop_event); in MCIQTZ_mciStop()
/reactos/dll/win32/ole32/
H A Drpc.c1892 HANDLE stop_event; member
1927 HANDLE handles[2] = { pipe_event, lsp->stop_event }; in local_server_thread()
2009 lsp->stop_event = CreateEventW(NULL, FALSE, FALSE, NULL); in RPC_StartLocalServer()
2010 if (!lsp->stop_event) in RPC_StartLocalServer()
2025 CloseHandle(lsp->stop_event); in RPC_StartLocalServer()
2034 CloseHandle(lsp->stop_event); in RPC_StartLocalServer()
2049 SetEvent(lsp->stop_event); in RPC_StopLocalServer()
2054 CloseHandle(lsp->stop_event); in RPC_StopLocalServer()
/reactos/modules/rostests/winetests/kernel32/
H A Dthread.c135 static HANDLE start_event, stop_event; variable
142 stop_event = CreateEventW(NULL, TRUE, FALSE, NULL); in init_thread_sync_helpers()
143 ok(stop_event != NULL, "CreateEvent failed\n"); in init_thread_sync_helpers()
153 ResetEvent( stop_event ); in sync_threads_and_run_one()
171 SetEvent( stop_event ); in resync_after_run()
175 DWORD ret = WaitForSingleObject(stop_event, 10000); in resync_after_run()
183 CloseHandle(stop_event); in cleanup_thread_sync_helpers()
H A Dloader.c2140 HANDLE stop_event, event, mutex, semaphore, loader_lock_event, peb_lock_event, heap_lock_event, ack… variable
2154 wait_list[0] = stop_event; in mutex_thread_proc()
2206 if (WaitForSingleObject(stop_event, 50) != WAIT_TIMEOUT) break; in semaphore_thread_proc()
2643 stop_event = CreateEventW(NULL, TRUE, FALSE, NULL); in child_process()
2644 ok(stop_event != 0, "CreateEvent error %d\n", GetLastError()); in child_process()
2784 SetEvent(stop_event); in child_process()
/reactos/modules/rostests/winetests/user32/
H A Dmsg.c8526 HANDLE stop_event; member
8594 ret = WaitForSingleObject( wnd_event->stop_event, 5000 ); in create_child_thread()
8731 wnd_event.stop_event = CreateEventA( NULL, TRUE, FALSE, NULL ); in test_interthread_messages()
8741 SetEvent( wnd_event.stop_event ); in test_interthread_messages()
8751 CloseHandle( wnd_event.stop_event ); in test_interthread_messages()