Lines Matching defs:timeout
132 /* On Linux kernels at least up to 2.6.24.4, epoll can't handle timeout
420 long timeout = -1;
428 /* No timeout; disarm the timer. */
435 timeout = 0;
441 calling timerfd_settime when the top timeout changes, or
450 timeout = evutil_tv_to_msec_(tv);
451 if (timeout < 0 || timeout > MAX_EPOLL_TIMEOUT_MSEC) {
452 /* Linux kernels can wait forever if the timeout is
454 timeout = MAX_EPOLL_TIMEOUT_MSEC;
463 res = epoll_wait(epollop->epfd, events, epollop->nevents, timeout);