摘要:
epoll有 ET和LT两种模式, 默认是LT模式。LT模式的时候,epoll_wait 会把有事件的 file 再次加到 rdllist 列表中,以便下次epoll_wait可以再检查一遍。 if (epi->event.events & EPOLLONESHOT) epi->event.events &= EP_PRIVATE_BITS; else if (!(ep... 阅读全文
posted @ 2010-07-20 17:59
napoleon_liu
阅读(4483)
评论(1)
推荐(2)

浙公网安备 33010602011771号