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

Method WaitAllDistributionActivity

library/cpp/par/par_context.cpp:470–474  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

468 }
469
470 void TContextDistributor::WaitAllDistributionActivity() {
471 CHROMIUM_TRACE_FUNCTION();
472 while (AtomicGet(ActiveReqCount) > 0)
473 ThreadYield();
474 }
475
476 //////////////////////////////////////////////////////////////////////////
477}

Callers 1

StopMethod · 0.80

Calls 2

ThreadYieldFunction · 0.85
AtomicGetFunction · 0.50

Tested by

no test coverage detected