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.c1534 HANDLE sigint_event = NULL; in _winapi_WaitForMultipleObjects_impl() local
1567 sigint_event = _PyOS_SigintEvent(); in _winapi_WaitForMultipleObjects_impl()
1568 assert(sigint_event != NULL); in _winapi_WaitForMultipleObjects_impl()
1569 handles[nhandles++] = sigint_event; in _winapi_WaitForMultipleObjects_impl()
1573 if (sigint_event != NULL) in _winapi_WaitForMultipleObjects_impl()
1574 ResetEvent(sigint_event); in _winapi_WaitForMultipleObjects_impl()
1581 else if (sigint_event != NULL && result == WAIT_OBJECT_0 + nhandles - 1) { in _winapi_WaitForMultipleObjects_impl()
Dsignalmodule.c122 static HANDLE sigint_event = NULL; variable
331 SetEvent(sigint_event); in signal_handler()
1475 sigint_event = CreateEvent(NULL, TRUE, FALSE, FALSE); in PyInit__signal()
1638 return sigint_event; in _PyOS_SigintEvent()