6 Sep
2004
6 Sep
'04
12:13 a.m.
On 30.8.2004, at 16:07, Andrey Panin wrote:
this patch adds ioloop handler using Linux 2.6 epoll API. I'm not sure is it ready for inclusion right now, but it works for me and survives deadconn test with 1024 simultaneous connections.
I made some changes and committed it. I'm not running 2.6 so I'm not sure if I broke it.
- Removed count from struct io_list. Uses less memory.
- Don't use epoll unless --with-ioloop=epoll is given. Alternative would be to check at runtime if epoll is supported by kernel. I'm not sure if it's worth the trouble..