4 ms·
IOCP is not an event loop. It is true async, non-blocking I/O; completion-oriented; the I/O manager informs the thread the operation is completed. epoll/kqueue
by nullindividual 2y ago
IOCP is not an event loop. It is true async, non-blocking I/O; completion-oriented; the I/O manager informs the thread the operation is completed.
epoll/kqueue are readiness-oriented, which continuously asks if the operation is completed via a single thread.
https://speakerdeck.com/trent/pyparallel-how-we-removed-the-gil-and-exploited-all-cores?slide=37 https://speakerdeck.com/trent/pyparallel-how-we-removed-the-...