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

Method Run

library/cpp/neh/tcp.cpp:338–346  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

336 }
337
338 void Run() {
339 E = MakeHolder<TContExecutor>(RealStackSize(32000));
340 THolder<TContListener> L(new TContListener(this, E.Get(), TContListener::TOptions().SetDeferAccept(true)));
341 //SetHighestThreadPriority();
342 L->Bind(Addr);
343 E->Create<TServer, &TServer::RunDispatcher>(this, "dispatcher");
344 L->Listen();
345 E->Execute();
346 }
347
348 void OnAcceptFull(const TAcceptFull& a) override {
349 //I love such code

Callers

nothing calls this directly

Calls 5

TOptionsClass · 0.50
GetMethod · 0.45
BindMethod · 0.45
ListenMethod · 0.45
ExecuteMethod · 0.45

Tested by

no test coverage detected