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

Method CancelAllRemoteQueries

library/cpp/par/par_exec.h:319–325  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

317 CancelCallback.Attach(this, QueryProc.Get(), MasterGuid);
318 }
319 void CancelAllRemoteQueries() {
320 TGUID req;
321 while (AllReqList.Dequeue(&req)) {
322 PAR_DEBUG_LOG << "Cancel req " << GetGuidAsString(req) << Endl;
323 QueryProc->CancelQuery(req);
324 }
325 }
326 void RegisterRemoteQuery(const TGUID& req) {
327 AllReqList.Enqueue(req);
328 if (!NeedResult())

Callers

nothing calls this directly

Calls 3

GetGuidAsStringFunction · 0.85
CancelQueryMethod · 0.80
DequeueMethod · 0.45

Tested by

no test coverage detected