MCPcopy Create free account
hub / github.com/catboost/catboost / ~TImpl

Method ~TImpl

library/cpp/threading/local_executor/local_executor.cpp:156–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154};
155
156NPar::TLocalExecutor::TImpl::~TImpl() {
157 ++QueueSize;
158 JobQueue.Enqueue(TSingleJob(nullptr, 0));
159 HasJob.Signal();
160 while (ThreadCount.load()) {
161 ThreadYield();
162 }
163}
164
165void* NPar::TLocalExecutor::TImpl::HostWorkerThread(void* p) {
166 static constexpr int FAST_ITERATIONS = 200;

Callers

nothing calls this directly

Calls 5

TSingleJobClass · 0.85
ThreadYieldFunction · 0.85
EnqueueMethod · 0.45
SignalMethod · 0.45
loadMethod · 0.45

Tested by

no test coverage detected