MCPcopy Create free account
hub / github.com/catboost/catboost / ~TAutoLockFreeQueue

Method ~TAutoLockFreeQueue

library/cpp/neh/lfqueue.h:22–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20 typedef TAutoPtr<T> TRef;
21
22 inline ~TAutoLockFreeQueue() {
23 TRef tmp;
24
25 while (Dequeue(&tmp)) {
26 }
27 }
28
29 inline bool Dequeue(TRef* t) {
30 T* res = nullptr;

Callers

nothing calls this directly

Calls 1

DequeueFunction · 0.70

Tested by

no test coverage detected