in reply to Serial Port I/O

On windows select only works on sockets. WaitForMultipleObjects/WaitForSingleObject is the basic (but not the only) event loop of Windows. WFMO/WFSO are used to implement select() under the hood.