
21 Jan
2005
21 Jan
'05
7:33 a.m.
Glynn Clements wrote:
The central issue is that the Unix API doesn't distinguish between
cases 1 and 2 when it comes to non-blocking I/O, asynchronous I/O, select/poll etc. [OTOH, NT overlapped I/O and certain Unix extensions do distinguish these cases, i.e. data is only "available" when it's in physical RAM.]
This is in direct contradiction to the documentation for select. Select specifically says it returns if a handle in the read list would _not_ block on a read call. Keean.