| 190 | |
| 191 | #if defined(HAVE_EPOLL_POLLER) |
| 192 | static inline int ContEpollWait(int epfd, struct epoll_event* events, int maxevents, int timeout) noexcept { |
| 193 | int ret; |
| 194 | |
| 195 | do { |
| 196 | ret = epoll_wait(epfd, events, maxevents, Min<int>(timeout, 35 * 60 * 1000)); |
| 197 | } while (ret == -1 && errno == EINTR); |
| 198 | |
| 199 | return ret; |
| 200 | } |
| 201 | |
| 202 | template <class TLockPolicy> |
| 203 | class TEpollPoller { |