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