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

Method RunDispatcher

library/cpp/neh/tcp.cpp:361–377  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

359 }
360
361 void RunDispatcher(TCont* c) {
362 while (true) {
363 TResponcePtr res;
364
365 PQ.DequeueSafe(c, res);
366
367 if (!res) {
368 break;
369 }
370
371 TLinkRef link = res->Link;
372
373 link->Enqueue(res);
374 }
375
376 c->Executor()->Abort();
377 }
378 THolder<TContExecutor> E;
379 IOnRequest* CB;
380 TNetworkAddress Addr;

Callers

nothing calls this directly

Calls 4

DequeueSafeMethod · 0.45
EnqueueMethod · 0.45
AbortMethod · 0.45
ExecutorMethod · 0.45

Tested by

no test coverage detected