• Victor Stinner's avatar
    Issue #23293, asyncio: Rewrite IocpProactor.connect_pipe() · 7ffa2c5f
    Victor Stinner authored
    Add _overlapped.ConnectPipe() which tries to connect to the pipe for
    asynchronous I/O (overlapped): call CreateFile() in a loop until it doesn't
    fail with ERROR_PIPE_BUSY. Use an increasing delay between 1 ms and 100 ms.
    
    Remove Overlapped.WaitNamedPipeAndConnect() which is no more used.
    7ffa2c5f
windows_events.py 27.4 KB