Home
last modified time | relevance | path

Searched refs:sigint_event (Results 1 – 6 of 6) sorted by relevance

/external/python/cpython3/Modules/_multiprocessing/
Dsemaphore.c68 HANDLE handles[2], sigint_event; in semlock_acquire() local
113 sigint_event = _PyOS_SigintEvent(); in semlock_acquire()
114 assert(sigint_event != NULL); in semlock_acquire()
115 handles[nhandles++] = sigint_event; in semlock_acquire()
118 sigint_event = NULL; in semlock_acquire()
123 if (sigint_event != NULL) in semlock_acquire()
124 ResetEvent(sigint_event); in semlock_acquire()
/external/python/cpython2/Modules/_multiprocessing/
Dmultiprocessing.c80 HANDLE sigint_event = NULL; variable
85 SetEvent(sigint_event); in ProcessingCtrlHandler()
313 sigint_event = CreateEvent(NULL, TRUE, FALSE, NULL); in init_multiprocessing()
314 if (!sigint_event) { in init_multiprocessing()
Dmultiprocessing.h140 extern HANDLE sigint_event;
Dsemaphore.c110 HANDLE handles[2] = {self->handle, sigint_event}; in semlock_acquire()
114 ResetEvent(sigint_event); in semlock_acquire()
/external/python/cpython3/Modules/
D_winapi.c1323 HANDLE sigint_event = NULL; in _winapi_WaitForMultipleObjects_impl() local
1356 sigint_event = _PyOS_SigintEvent(); in _winapi_WaitForMultipleObjects_impl()
1357 assert(sigint_event != NULL); in _winapi_WaitForMultipleObjects_impl()
1358 handles[nhandles++] = sigint_event; in _winapi_WaitForMultipleObjects_impl()
1362 if (sigint_event != NULL) in _winapi_WaitForMultipleObjects_impl()
1363 ResetEvent(sigint_event); in _winapi_WaitForMultipleObjects_impl()
1370 else if (sigint_event != NULL && result == WAIT_OBJECT_0 + nhandles - 1) { in _winapi_WaitForMultipleObjects_impl()
Dsignalmodule.c130 static HANDLE sigint_event = NULL; variable
326 SetEvent(sigint_event); in signal_handler()
1453 sigint_event = CreateEvent(NULL, TRUE, FALSE, FALSE); in PyInit__signal()
1633 return sigint_event; in _PyOS_SigintEvent()