深入理解 Linux epoll:为什么它比 select 快?
关键词:epoll、Reactor、I/O 多路复用、Ready List、Wait Queue、Linux Kernel很多 C 开发者都会使用 epoll:
while (true)
{int n epoll_wait(epfd, events, MAX_EVENTS, -1);for (int i 0; i < n; i){handle(events[i]);}
}大家知道:
…
2026/8/8 7:01:54