Home
last modified time | relevance | path

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

/third_party/python/Modules/_multiprocessing/
Dsemaphore.c93 HANDLE handles[2], sigint_event; in _multiprocessing_SemLock_acquire_impl() local
132 sigint_event = _PyOS_SigintEvent(); in _multiprocessing_SemLock_acquire_impl()
133 assert(sigint_event != NULL); in _multiprocessing_SemLock_acquire_impl()
134 handles[nhandles++] = sigint_event; in _multiprocessing_SemLock_acquire_impl()
137 sigint_event = NULL; in _multiprocessing_SemLock_acquire_impl()
142 if (sigint_event != NULL) in _multiprocessing_SemLock_acquire_impl()
143 ResetEvent(sigint_event); in _multiprocessing_SemLock_acquire_impl()
/third_party/python/Modules/
Dsignalmodule.c135 HANDLE sigint_event; member
393 SetEvent(state->sigint_event); in signal_handler()
1748 if (state->sigint_event != NULL) {
1749 CloseHandle(state->sigint_event);
1750 state->sigint_event = NULL;
1952 state->sigint_event = CreateEvent(NULL, TRUE, FALSE, FALSE);
1953 if (state->sigint_event == NULL) {
2049 return state->sigint_event;
D_winapi.c1713 HANDLE sigint_event = NULL; in _winapi_WaitForMultipleObjects_impl() local
1746 sigint_event = _PyOS_SigintEvent(); in _winapi_WaitForMultipleObjects_impl()
1747 assert(sigint_event != NULL); in _winapi_WaitForMultipleObjects_impl()
1748 handles[nhandles++] = sigint_event; in _winapi_WaitForMultipleObjects_impl()
1752 if (sigint_event != NULL) in _winapi_WaitForMultipleObjects_impl()
1753 ResetEvent(sigint_event); in _winapi_WaitForMultipleObjects_impl()
1760 else if (sigint_event != NULL && result == WAIT_OBJECT_0 + nhandles - 1) { in _winapi_WaitForMultipleObjects_impl()