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

Method RunLocalOnly

library/cpp/par/par_master.cpp:155–162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153 }
154
155 void TGlobalUserContext::RunLocalOnly(TJobDescription* descr, IMRCommandCompleteNotify* completeNotify) {
156 // copy is needed to handle UpdateDistrState() correctly
157 // UpdateDistrState() is not thread safe and different contexts can have different HostId2Computer
158 TGlobalUserContext* ctx = new TGlobalUserContext(*this);
159 TIntrusivePtr<TRestrictedGlobalUserContext> userContext = new TRestrictedGlobalUserContext(ctx);
160
161 AsyncStartGroupRequest(descr, QueryProc.Get(), userContext.Get(), completeNotify);
162 }
163
164 //////////////////////////////////////////////////////////////////////////
165 class TEnvironment: public IEnvironment {

Callers 1

RunMethod · 0.80

Calls 2

AsyncStartGroupRequestFunction · 0.85
GetMethod · 0.45

Tested by

no test coverage detected