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

Method DequeueSafe

library/cpp/neh/pipequeue.h:173–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

171
172 template <class TPtr>
173 inline void DequeueSafe(TCont* c, TPtr& ret) {
174 ret.Reset(Dequeue(c));
175 }
176
177 protected:
178 TLockFreeQueue<T*> Q_;

Callers

nothing calls this directly

Calls 2

DequeueFunction · 0.70
ResetMethod · 0.45

Tested by

no test coverage detected