Searched refs:hInterruptEvent (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython3/Parser/ |
D | myreadline.c | 72 HANDLE hInterruptEvent = _PyOS_SigintEvent(); in my_fgets() local 73 switch (WaitForSingleObjectEx(hInterruptEvent, 10, FALSE)) { in my_fgets() 75 ResetEvent(hInterruptEvent); in my_fgets() 147 HANDLE hInterruptEvent = _PyOS_SigintEvent(); in _PyOS_WindowsConsoleReadline() local 148 if (WaitForSingleObjectEx(hInterruptEvent, 100, FALSE) in _PyOS_WindowsConsoleReadline() 150 ResetEvent(hInterruptEvent); in _PyOS_WindowsConsoleReadline()
|
/external/python/cpython2/Modules/ |
D | timemodule.c | 46 static HANDLE hInterruptEvent = NULL; variable 49 SetEvent(hInterruptEvent); in PyCtrlHandler() 977 hInterruptEvent = CreateEvent(NULL, TRUE, FALSE, NULL); in inittime() 1083 ResetEvent(hInterruptEvent); 1084 rc = WaitForSingleObject(hInterruptEvent, ul_millis);
|
/external/python/cpython3/Modules/_io/ |
D | winconsoleio.c | 577 HANDLE hInterruptEvent = _PyOS_SigintEvent(); in read_console_w() local 578 if (WaitForSingleObjectEx(hInterruptEvent, 100, FALSE) in read_console_w() 580 ResetEvent(hInterruptEvent); in read_console_w()
|
/external/python/cpython3/Modules/ |
D | timemodule.c | 2025 HANDLE hInterruptEvent; local 2065 hInterruptEvent = _PyOS_SigintEvent(); 2066 ResetEvent(hInterruptEvent); 2069 rc = WaitForSingleObjectEx(hInterruptEvent, ul_millis, FALSE);
|