MCPcopy Create free account
hub / github.com/catboost/catboost / ContEpollWait

Function ContEpollWait

util/network/pollerimpl.h:192–200  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

190
191#if defined(HAVE_EPOLL_POLLER)
192static 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
202template <class TLockPolicy>
203class TEpollPoller {

Callers 1

WaitMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected