[Bug 40540] ReadFile overlapped not using ReadIntervalTimeout

wine-bugs at winehq.org wine-bugs at winehq.org
Mon May 16 17:12:55 CDT 2016


https://bugs.winehq.org/show_bug.cgi?id=40540

--- Comment #7 from henry at littau.org ---
Hi Alex,

On a slower computer I also see the timeout in WaitForMultipleObjects under
Windows.  That is likely an artifact of our little test environment, I have not
seen this in real use. (Our devices run 9600 to 115200 baud and send 9
characters back, the test environment runs 2400 baud and sends 27 characters
back once Windows gets around to switching tasks a couple times)

Bump the timeout on WaitForMultipleObjects to 1500:
        switch( WaitForMultipleObjects( dwCount, hEvents, FALSE, 1500 ) )
//::WaitForSingleObject( m_ovWait.hEvent, dwTimeout))

This should get you past the Windows speed issue.

I had no idea about wineg++, thank you, that is most helpful.

This issue, BTW, is the same under Wine and OS X.  Should I file a bug specific
to OS X or can this one be tagged for both?

I would also like to file a bug against WineHQ Buzilla because it thinks I
spelled artifact wrong :-)

Henry

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list