[kernel] epoll里的EPOLLET标记

补充了一篇epoll里EPOLLET标记的代码剖析:



相关文章

分类

2 Comments

Xu said:

请教个epoll的问题,epitem结构中有nwait和pwqlist字段,即挂在pwdlist上的eppoll_entry结构可能有多个,在什么情况下会在一个epitem下面挂多个eppoll_entry呢?一个epitem对应一个监视的文件,那在这个文件上挂一个eppoll_entry等待就够了啊

DongHao Author Profile Page said:

关键是:一个文件会有多个进程打开它,会有多个fd

留言:

关于文章

This page contains a single entry by DongHao published on 05 14, 2010 3:35 PM.

[tcp] 异步connect是否成功? was the previous entry in this blog.

没什么可后悔的 is the next entry in this blog.

Find recent content on the main index or look in the 存档 to find all content.