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

Method Next

library/cpp/neh/rq.cpp:99–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97 }
98
99 IRequestRef Next() override {
100 IRequestRef ret;
101
102 while (!Q_.Dequeue(&ret)) {
103 E_.Wait();
104 }
105
106 E_.Signal();
107
108 return ret;
109 }
110
111 private:
112 TEvent E_;

Callers

nothing calls this directly

Calls 3

DequeueMethod · 0.45
WaitMethod · 0.45
SignalMethod · 0.45

Tested by

no test coverage detected