use COMMTIMEOUTS for non-overlapped ReadFile

Mike McCormack mike_mccormack at start.com.au
Wed Dec 19 03:02:31 CST 2001


Currently nonoverlapped ReadFile on COM ports is broken. It busy loops
without timing out. This fix uses ReadFileEx and GetOverlappedResult
to implement timeout in ReadFile (for COM ports only).

Mike

ChangeLog:
* implement timed-out non-overlapped ReadFile




------------------------------------------
mailto:Mike_McCormack at start.com.au
ph +82 16 430 0425

__________________________________________________________________
Get your free Australian email account at http://www.Looksmart.com.au
-------------- next part --------------
A non-text attachment was scrubbed...
Name: timeout_read.diff
Type: application/octet-stream
Size: 1520 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20011219/0e6ec95b/timeout_read.obj


More information about the wine-patches mailing list