MCPcopy Create free account
hub / github.com/catboost/catboost / ~TPoolThread

Method ~TPoolThread

util/thread/factory.cpp:13–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11 class TPoolThread: public IThread {
12 public:
13 ~TPoolThread() override {
14 if (Thr_) {
15 Thr_->Detach();
16 }
17 }
18
19 void DoRun(IThreadAble* func) override {
20 Thr_.Reset(new TThread(ThreadProc, func));

Callers

nothing calls this directly

Calls 1

DetachMethod · 0.45

Tested by

no test coverage detected