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

Method SyncStop

library/cpp/neh/rpc.cpp:169–180  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

167 }
168
169 void SyncStop() {
170 if (!T_) {
171 return;
172 }
173
174 Parent->Stop();
175
176 for (size_t i = 0; i < T_.size(); ++i) {
177 T_[i]->Join();
178 }
179 T_.clear();
180 }
181
182 private:
183 typedef TAutoPtr<IThreadFactory::IThread> IThreadRef;

Callers 1

SyncStopForkMethod · 0.45

Calls 4

StopMethod · 0.45
sizeMethod · 0.45
JoinMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected