Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
Enqueuer
Method · 0.45
DequeuerAll
Method · 0.45
Worker
Method · 0.45
Calls
1
Signal
Method · 0.45
Tested by
no test coverage detected