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

Method Start

library/cpp/netliba/v12/udp_host.cpp:489–505  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

487 }
488
489 bool TUdpHost::Start(const TIntrusivePtr<ISocket>& socket) {
490 if (S.IsValid()) {
491 Y_ASSERT(0);
492 return false;
493 }
494 S.Open(socket);
495 if (!S.IsValid())
496 return false;
497
498 if (IBDetection)
499 IB = CreateIBClientServer();
500
501 NHPTimer::GetTime(&CurrentT);
502 UdpHostThread.Start();
503 HasStarted.Wait();
504 return true;
505 }
506
507 bool TUdpHost::ProcessIBRequest() {
508 if (IB.Get()) {

Callers 3

OpenMethod · 0.45
CreateUdpHostFunction · 0.45
TIBMemPoolMethod · 0.45

Calls 4

CreateIBClientServerFunction · 0.70
IsValidMethod · 0.45
OpenMethod · 0.45
WaitMethod · 0.45

Tested by

no test coverage detected