Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
CountDown
Method · 0.45
Await
Method · 0.45
Enqueue
Method · 0.45
Tested by
no test coverage detected