HomeSort by: relevance | last modified time | path
    Searched defs:timerfd (Results 1 - 3 of 3) sorted by relevancy

  /src/external/bsd/libevent/dist/
epoll.c 54 #include <sys/timerfd.h>
82 /* Note that we only use timerfd if TFD_NONBLOCK and TFD_CLOEXEC are available
83 and working. This means that we can't support it on 2.6.25 (where timerfd
94 int timerfd; member in struct:epollop
192 event_base, we can try to use timerfd to give them finer granularity.
197 fd = epollop->timerfd = timerfd_create(CLOCK_MONOTONIC, TFD_NONBLOCK|TFD_CLOEXEC);
198 if (epollop->timerfd >= 0) {
201 epev.data.fd = epollop->timerfd;
204 event_warn("epoll_ctl(timerfd)");
206 epollop->timerfd = -1
    [all...]
  /src/external/bsd/ntp/dist/sntp/libevent/
epoll.c 53 #include <sys/timerfd.h>
81 /* Note that we only use timerfd if TFD_NONBLOCK and TFD_CLOEXEC are available
82 and working. This means that we can't support it on 2.6.25 (where timerfd
93 int timerfd; member in struct:epollop
191 event_base, we can try to use timerfd to give them finer granularity.
196 fd = epollop->timerfd = timerfd_create(CLOCK_MONOTONIC, TFD_NONBLOCK|TFD_CLOEXEC);
197 if (epollop->timerfd >= 0) {
200 epev.data.fd = epollop->timerfd;
203 event_warn("epoll_ctl(timerfd)");
205 epollop->timerfd = -1
    [all...]
  /src/sys/kern/
sys_timerfd.c 36 * timerfd
38 * Timerfd objects are similar to POSIX timers, except they are associated
39 * with a file descriptor rather than a process. Timerfd objects are
41 * The timerfd analogues for timer_gettime(2) and timer_settime(2) are
44 * When a timerfd object's timer fires, an internal counter is incremented.
45 * When this counter is non-zero, the descriptor associated with the timerfd
49 * responsible for incrementing the "overrun" counter each time the timerfd
52 * This implementation is API compatible with the Linux timerfd interface.
67 #include <sys/timerfd.h>
70 /* N.B. all timerfd state is protected by itimer_lock() *
71 struct timerfd { struct
    [all...]

Completed in 60 milliseconds