use COMMTIMEOUTS for non-overlapped ReadFile

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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@start.com.au
ph +82 16 430 0425

__________________________________________________________________
Get your free Australian email account at http://www.Looksmart.com.au

Attachment: timeout_read.diff
Description: Binary data


[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux