I/O event notification mechanism - select() or epoll() ?
Rahul Bedarkar
rpal143 at gmail.com
Wed Sep 26 07:49:50 EDT 2012
Hi,
I have to capture kernel udev events through libudev. One of API
provides asynchronous events by reading on file descriptor. I found
that there two ways to do that.
1) select call
2) epoll
I also found that epoll is smarter and meant to replace old select call.
What are your thoughts on these ? Which one is better ?
Thanks
Rahul B.
More information about the Kernelnewbies
mailing list