Martin Wilck wrote:
I don't see why it would be hard to close fds, it's just standard resource management, like freeing allocated memory, etc. If the async I/O code makes this hard to do then the code is broken.
Asynchronous IO, broken or not, allows for hundreds of simultaneous IO operations on a single HANDLE, and therefore gets us into *resource shortage* as long as we use up an fd for each such operation.
Is your main objection to the current scheme based on performance? - Dan