fd拷贝

epoll
调用epoll\_ctl时拷贝进内核并保存,之后每次epoll\_wait不拷贝
poll
每次调用poll,都需要把fd集合从用户态拷贝到内核态
select
每次调用select,都需要把fd集合从用户态拷贝到内核态
Loading...
目录