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

Method Run

library/cpp/par/par_master.cpp:148–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146 }
147
148 void TGlobalUserContext::Run(TJobDescription* descr, IMRCommandCompleteNotify* completeNotify) {
149 // copy is needed to handle UpdateDistrState() correctly
150 // UpdateDistrState() is not thread safe and different contexts can have different HostId2Computer
151 TIntrusivePtr<TGlobalUserContext> ctx = new TGlobalUserContext(*this);
152 AsyncStartGroupRequest(descr, QueryProc.Get(), ctx.Get(), completeNotify);
153 }
154
155 void TGlobalUserContext::RunLocalOnly(TJobDescription* descr, IMRCommandCompleteNotify* completeNotify) {
156 // copy is needed to handle UpdateDistrState() correctly

Callers

nothing calls this directly

Calls 2

AsyncStartGroupRequestFunction · 0.85
GetMethod · 0.45

Tested by

no test coverage detected