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

Method ForkLoop

library/cpp/neh/rpc.cpp:106–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104 }
105
106 inline void ForkLoop(size_t threads) {
107 Y_ENSURE(!HasLoop_ || *HasLoop_);
108 HasLoop_ = true;
109 //here we can have trouble with binding port(s), so expect exceptions
110 IRequesterRef rr = MultiRequester(ListenAddrs(), this);
111 LF_.Reset(new TLoopFunc(this, threads, rr));
112 }
113
114 inline void Stop() {
115 RQ_->Schedule(nullptr);

Callers 7

TNehRequesterMethod · 0.45
Y_UNIT_TESTFunction · 0.45
TServicerMethod · 0.45
CreateServicesFunction · 0.45
Y_UNIT_TESTFunction · 0.45
ForkLoopMethod · 0.45
Y_UNIT_TESTFunction · 0.45

Calls 1

ResetMethod · 0.45

Tested by

no test coverage detected