Skip to content

Use timerfd if available

Peter Hutterer requested to merge github/fork/austriancoder/master into master

Created by: austriancoder

The timerfd interface is a Linux-specific set of functions that present POSIX timers as file descriptors (hence the fd) rather than signals thus avoiding all that tedious messing about with signal handlers. It was first implemented in GNU libc 2.8 and kernel 2.6.25.

Signed-off-by: Christian Gmeiner christian.gmeiner@gmail.com

Merge request reports

Loading