I watched how twisted and node.js frameworks work, and I'm trying to understand how the operating system supports I / O using callbacks.
I understand this well because we need fewer threads, because we do not need to block threads waiting for I / O. But something should call a callback after I / O is complete.
How is this implemented by the operating system?
asynchronous io networking nonblocking event-driven
simao
source share