@miki bzzzzzt, wrong
You want I/O multiplexing to address this case, which is not the same thing as async I/O.
Top-level
@miki bzzzzzt, wrong You want I/O multiplexing to address this case, which is not the same thing as async I/O. 1 comment
|
@drewdevault how exactly does async I/O differ from I/O multiplexing in your understanding?
I/O multiplexing is IIUC having a single thread of execution and using poll() / epoll() / select() / ... to periodically check which I/O is ready and then handling that (either directly or via callbacks). Most nontrivial programs that do that do it via callbacks and an event loop.
1/2
@miki