Make serial fd blocking mode depend on FILE_FLAG_OVERLAPPED

eric pouech eric.pouech at wanadoo.fr
Mon Oct 8 00:46:37 CDT 2001


Mike McCormack wrote:
> 
> This patch causes a serial port's fd to be put into blocking mode if
> FILE_FLAG_OVERLAPPED is not specified and non-blocking mode if  it is.
> 
> ReadFile should block on serial ports for non-overlapped reads. The
> next step is to refuse overlapped reads and writes if the file isn't
> opened with FILE_FLAG_OVERLAPPED specified.
hi Mike, 

I don't understand why you got read of the inherit flag in the protocol
definition for serial handles. Even, if security attribute isn't pass
around yet for file/comm port creation, it should be kept for comm port

A+
-- 
---------------
Eric Pouech (http://perso.wanadoo.fr/eric.pouech/)
"The future will be better tomorrow", Vice President Dan Quayle




More information about the wine-devel mailing list