Skip to content
Snippets Groups Projects
  • Nadav Har'El's avatar
    46e73b66
    Add timerfd_*() system calls · 46e73b66
    Nadav Har'El authored
    
    This patch implements the Linux's timerfd_*() system calls, declared in
    <sys/timerfd.h>. These define a file descriptor, usable for read() or
    poll() and friends, which becomes readable when a timer expires.
    
    This aspires to be a full implementation of timerfd, with all the intricate
    details explained in timerfd_create(2).
    
    timerfd was added to Linux five years ago (Linux 2.6.25). Boost's asio,
    in particular, uses this feature if it thinks it is available.
    
    Fixes #129.
    
    Signed-off-by: default avatarNadav Har'El <nyh@cloudius-systems.com>
    Signed-off-by: default avatarPekka Enberg <penberg@cloudius-systems.com>
    46e73b66
    History
    Add timerfd_*() system calls
    Nadav Har'El authored
    
    This patch implements the Linux's timerfd_*() system calls, declared in
    <sys/timerfd.h>. These define a file descriptor, usable for read() or
    poll() and friends, which becomes readable when a timer expires.
    
    This aspires to be a full implementation of timerfd, with all the intricate
    details explained in timerfd_create(2).
    
    timerfd was added to Linux five years ago (Linux 2.6.25). Boost's asio,
    in particular, uses this feature if it thinks it is available.
    
    Fixes #129.
    
    Signed-off-by: default avatarNadav Har'El <nyh@cloudius-systems.com>
    Signed-off-by: default avatarPekka Enberg <penberg@cloudius-systems.com>