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

Method Next

library/cpp/neh/rq.cpp:163–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161 }
162
163 IRequestRef Next() override {
164 TGuard<TMutex> g(M_);
165
166 while (Q_.empty()) {
167 C_.Wait(M_);
168 }
169
170 IRequestRef ret = *Q_.begin();
171 Q_.pop_front();
172
173 return ret;
174 }
175
176 private:
177 TDeque<IRequestRef> Q_;

Callers

nothing calls this directly

Calls 4

pop_frontMethod · 0.80
emptyMethod · 0.45
WaitMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected