In order to use the runtime poller with os.File on Windows, the file or pipe will have to be opened with FILE_FLAG_OVERLAPPED. We shouldn't do that unconditionally unless we can remove it if the program calls the Fd method. Programs currently expect the Fd method to return a handle that uses ordinary synchronous I/O.
In order to use the runtime poller with
os.Fileon Windows, the file or pipe will have to be opened withFILE_FLAG_OVERLAPPED. We shouldn't do that unconditionally unless we can remove it if the program calls theFdmethod. Programs currently expect theFdmethod to return a handle that uses ordinary synchronous I/O.