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

Method ~TContextDistributor

library/cpp/par/par_context.cpp:195–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

193 }
194
195 TContextDistributor::~TContextDistributor() {
196 while (AtomicGet(ActiveReqCount))
197 ThreadYield();
198 }
199
200 void TContextDistributor::CreateNewContext(int envId, int parentEnvId, const TVector<int>& computer2HostId) {
201 CHROMIUM_TRACE_FUNCTION();

Callers

nothing calls this directly

Calls 2

ThreadYieldFunction · 0.85
AtomicGetFunction · 0.50

Tested by

no test coverage detected