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

Method Dequeue

library/cpp/neh/tcp.cpp:90–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88
89 template <class TPtr>
90 inline bool Dequeue(TPtr& p) noexcept {
91 do {
92 if (TryDequeue(p)) {
93 return true;
94 }
95 } while (Ev.WaitI() != ECANCELED);
96
97 return false;
98 }
99
100 template <class TPtr>
101 inline bool TryDequeue(TPtr& p) noexcept {

Callers 1

DequeueFunction · 0.45

Calls 1

WaitIMethod · 0.45

Tested by

no test coverage detected