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

Method Enqueue

util/thread/lfstack_ut.cpp:318–320  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

316 using ValueType = THolder<int>;
317
318 static void Enqueue(TLockFreeStack<ValueType>& stack, size_t i) {
319 stack.Enqueue(MakeHolder<int>(static_cast<int>(i)));
320 }
321
322 static void Dequeue(TLockFreeStack<ValueType>& stack) {
323 ValueType value;

Callers 3

EnqueuerMethod · 0.45
Y_UNIT_TESTFunction · 0.45
EnqueueMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected