Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/catboost/catboost
/ with_lock
Function
with_lock
library/cpp/chromium_trace/sampler.cpp:19–21 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
17
18
void TSamplerThread::AddSampler(TSamplerFunction sampler) {
19
with_lock (SamplersLock) {
20
Samplers.push_back(sampler);
21
}
22
}
23
24
void TSamplerThread::RunSamplers() {
Callers
nothing calls this directly
Calls
3
push_back
Method · 0.45
WaitT
Method · 0.45
Signal
Method · 0.45
Tested by
no test coverage detected