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

Method WaitReadWriteEdgeTriggered

util/network/poller.cpp:72–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72void TSocketPoller::WaitReadWriteEdgeTriggered(SOCKET sock, void* cookie) {
73 Impl_->Set(cookie, sock, CONT_POLL_READ | CONT_POLL_WRITE | CONT_POLL_EDGE_TRIGGERED);
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));

Callers 1

Y_UNIT_TESTFunction · 0.80

Calls 1

SetMethod · 0.45

Tested by

no test coverage detected