Alex Henrie alexhenrie24@gmail.com writes:
It seems to me that NtReadFile [3] needs to tell serial_queue_async [4] if it read anything from the serial port before it sent the asynchronous read request to the Wineserver. If anything was read, serial_queue_async needs to start the read interval timer. Otherwise, serial_reselect_async should be the one to start the timer like it is now.
I could hack something in to achieve the desired behavior, but before I submit anything, I wanted to ask your opinion on how it should be done.
The easiest would probably be to not try to read anything and go straight to the async call when a read interval is set.