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

Method Wait

util/network/pollerimpl.h:277–283  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

275 }
276
277 inline size_t Wait(TEvent* events, size_t len, int timeout) noexcept {
278 const int ret = ContEpollWait(Fd_, events, len, MicroToMilli(timeout));
279
280 Y_ABORT_UNLESS(ret >= 0, "epoll wait error: %s", LastSystemErrorText());
281
282 return (size_t)ret;
283 }
284
285 static inline void* ExtractEvent(const TEvent* event) noexcept {
286 return event->data.ptr;

Callers 1

WaitDMethod · 0.45

Calls 3

ContEpollWaitFunction · 0.85
MicroToMilliFunction · 0.85
LastSystemErrorTextFunction · 0.50

Tested by

no test coverage detected