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

Method RestartReadWriteEdgeTriggered

util/network/poller.cpp:76–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76void TSocketPoller::RestartReadWriteEdgeTriggered(SOCKET sock, void* cookie, bool empty) {
77 Impl_->Set(cookie, sock, CONT_POLL_READ | CONT_POLL_WRITE | CONT_POLL_MODIFY | CONT_POLL_EDGE_TRIGGERED | (empty ? CONT_POLL_BACKLOG_EMPTY : 0));
78}
79
80void TSocketPoller::Unwait(SOCKET sock) {
81 Impl_->Remove(sock);

Callers 1

Y_UNIT_TESTFunction · 0.80

Calls 1

SetMethod · 0.45

Tested by

no test coverage detected