timerfd

Alex Leone acleone at gmail.com
Thu Mar 24 03:44:05 CET 2011


Marc - do you have any thoughts on linux timerfd's [1]?

It looks like they're implemented with hrtimers in the kernel [2], which I
think go into a red-black tree.  My gut feeling is that doing the timing in
userspace is probably a tad faster.

 - Alex

[1] http://www.kernel.org/doc/man-pages/online/pages/man2/timerfd_create.2.html
[2] http://lxr.linux.no/linux+v2.6.38/fs/timerfd.c



More information about the libev mailing list