Searched refs:hInterruptEvent (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython3/Parser/ |
D | myreadline.c | 34 HANDLE hInterruptEvent; in my_fgets() local 62 hInterruptEvent = _PyOS_SigintEvent(); in my_fgets() 63 switch (WaitForSingleObjectEx(hInterruptEvent, 10, FALSE)) { in my_fgets() 65 ResetEvent(hInterruptEvent); in my_fgets() 133 HANDLE hInterruptEvent = _PyOS_SigintEvent(); in _PyOS_WindowsConsoleReadline() local 134 if (WaitForSingleObjectEx(hInterruptEvent, 100, FALSE) in _PyOS_WindowsConsoleReadline() 136 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 | 576 HANDLE hInterruptEvent = _PyOS_SigintEvent(); in read_console_w() local 577 if (WaitForSingleObjectEx(hInterruptEvent, 100, FALSE) in read_console_w() 579 ResetEvent(hInterruptEvent); in read_console_w()
|
/external/python/cpython3/Modules/ |
D | timemodule.c | 1818 HANDLE hInterruptEvent; in pysleep() local 1858 hInterruptEvent = _PyOS_SigintEvent(); in pysleep() 1859 ResetEvent(hInterruptEvent); in pysleep() 1862 rc = WaitForSingleObjectEx(hInterruptEvent, ul_millis, FALSE); in pysleep()
|