How to finish implementing serial port read interval timeouts?

Alexandre Julliard julliard at winehq.org
Thu May 26 06:26:21 CDT 2016


Alex Henrie <alexhenrie24 at 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.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list