MCPcopy Create free account
hub / github.com/catboost/catboost / WaitDistribution

Method WaitDistribution

library/cpp/par/par_context.cpp:463–468  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

461 }
462
463 void TContextDistributor::WaitDistribution() {
464 CHROMIUM_TRACE_FUNCTION();
465 while (!AtomicGet(DistributionIsComplete))
466 ThreadYield();
467 PAR_DEBUG_LOG << "Distribution complete" << Endl;
468 }
469
470 void TContextDistributor::WaitAllDistributionActivity() {
471 CHROMIUM_TRACE_FUNCTION();

Callers

nothing calls this directly

Calls 2

ThreadYieldFunction · 0.85
AtomicGetFunction · 0.50

Tested by

no test coverage detected