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

Method DoRun

util/thread/pool.cpp:755–760  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

753
754 private:
755 void DoRun(IThreadAble* func) override {
756 TThreadImplRef impl(new TThreadImpl(func));
757
758 Parent_->SafeAdd(impl.Get());
759 Impl_.Swap(impl);
760 }
761
762 void DoJoin() noexcept override {
763 if (Impl_) {

Callers

nothing calls this directly

Calls 3

SafeAddMethod · 0.80
GetMethod · 0.45
SwapMethod · 0.45

Tested by

no test coverage detected