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

Method Enqueuer

util/thread/lfstack_ut.cpp:59–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57 }
58
59 void Enqueuer() {
60 StartLatch.CountDown();
61 StartLatch.Await();
62
63 for (size_t i = 0; i < EnqueuesPerThread; ++i) {
64 Stack.Enqueue(i);
65 }
66 }
67
68 void DequeuerAll() {
69 StartLatch.CountDown();

Callers

nothing calls this directly

Calls 3

CountDownMethod · 0.45
AwaitMethod · 0.45
EnqueueMethod · 0.45

Tested by

no test coverage detected