[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: How to finish implementing serial port read interval timeouts?
From:       Alexandre Julliard <julliard () winehq ! org>
Date:       2016-05-26 11:26:21
Message-ID: 87fut5qcv6.fsf () winehq ! org
[Download RAW message or body]

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.

-- 
Alexandre Julliard
julliard@winehq.org



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic