Linux and I/O completion ports?
Posted
by someguy
on Stack Overflow
See other posts from Stack Overflow
or by someguy
Published on 2010-05-08T15:01:07Z
Indexed on
2010/05/08
15:08 UTC
Read the original article
Hit count: 274
Using winsock, you can configure sockets or seperate I/O operations to "overlap". This means that calls to perform I/O are returned immediately, while the actual operations are completed asynchronously by separate worker threads.
Winsock also provides "completion ports". From what I understand, a completion port acts as a multiplexer of handles (sockets). A handle can be demultiplexed if it isn't in the middle of an I/O operation, i.e. if all its I/O operations are completed.
So, on to my question... does linux support completion ports or even asynchronous I/O for sockets?
© Stack Overflow or respective owner