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

Method TThread

util/thread/pool.cpp:392–396  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

390 class TThread: public IThreadFactory::IThreadAble {
391 public:
392 inline TThread(TImpl* parent)
393 : Impl_(parent)
394 , Thread_(Impl_->Parent_->Pool()->Run(this))
395 {
396 }
397
398 inline ~TThread() override {
399 Impl_->DecThreadCount();

Callers

nothing calls this directly

Calls 2

PoolMethod · 0.80
RunMethod · 0.45

Tested by

no test coverage detected