kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* I/O event notification mechanism - select() or epoll() ?
@ 2012-09-26 11:49 Rahul Bedarkar
  2012-09-26 15:49 ` Peter Teoh
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Rahul Bedarkar @ 2012-09-26 11:49 UTC (permalink / raw)
  To: kernelnewbies

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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-09-28 17:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-26 11:49 I/O event notification mechanism - select() or epoll() ? Rahul Bedarkar
2012-09-26 15:49 ` Peter Teoh
2012-09-28  5:23 ` michi1 at michaelblizek.twilightparadox.com
2012-09-28  5:28   ` Rahul Bedarkar
2012-09-28 17:05 ` Jonathan Neuschäfer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).