LWN.net Logo

sys_epoll - making poll fast

sys_epoll - making poll fast

Posted Oct 31, 2002 7:22 UTC (Thu) by dododge (subscriber, #2870)
Parent article: sys_epoll - making poll fast

LKML has had a bunch of messages this week about the API documentation, and it's clear there are some subtle issues with how you go about using sys_epoll correctly. If you try to use it as a drop-in replacement for existing select and poll code, you can end up with races. The setup and waiting has to be done with an understanding of what actually causes epoll_wait to report an event. A good/quick explanation of how to use it:

http://www.uwsg.indiana.edu/hypermail/linux/kernel/0210.3/1520.html


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds