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

Method CountDown

util/thread/lfstack_ut.cpp:24–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22 }
23
24 void CountDown() {
25 if (--Current_ == 0) {
26 EventObject_.Signal();
27 }
28 }
29
30 void Await() {
31 EventObject_.Wait();

Callers 3

EnqueuerMethod · 0.45
DequeuerAllMethod · 0.45
WorkerMethod · 0.45

Calls 1

SignalMethod · 0.45

Tested by

no test coverage detected