Hi Martin,
Probably better to get the ordered overlappeds working on sockets and serial ports first before trying to perfect block devices. That will bring Wine's feature set inline with Win9x overlapped I/O.
I've never had anybody complain that overlapped I/O on block devices doesn't work for any program. Most programs avoid using features that only work on NT... you're likely to find that only NT services use those API calls.... and they won't work on Wine anyhow, seeing we don't support services properly yet.
It seems like a good idea to try to make everything perfect from the start, but an incremental approach is usually better.
Mike
Original message from: Martin Wilck Martin.Wilck@fujitsu-siemens.com
Hi,
I just discovered yet another problem that arises for overlapped I/O on normal disk files, more correctly, for any file on a block
device.
Obviously IO requests on block devices on Linux are _always
blocking_.
I wrote a very simple test program for reading from a floppy disk and found exactly this behaviour, no matter if O_NONBLOCK was set or not. "man 2 open" also says that O_NONBLOCK may or may not have any effect
on
non-socket fd's and for block devices it clearly has none.
------------------------------------------ mailto:Mike_McCormack@start.com.au ph +82 16 430 0425
__________________________________________________________________ Get your free Australian email account at http://www.Looksmart.com.au