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

Method Start

util/thread/pool.cpp:378–380  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

376}
377
378void TThreadPool::Start(size_t thrnum, size_t maxque) {
379 Impl_.Reset(new TImpl(this, thrnum, maxque, Params));
380}
381
382void TThreadPool::Stop() noexcept {
383 Impl_.Destroy();

Callers 5

DoRunMethod · 0.45
CreateThreadPoolFunction · 0.45
TestAdaptivePoolMethod · 0.45
DequeueAllRunnerFunction · 0.45

Calls 4

SecondsFunction · 0.50
ResetMethod · 0.45
SetMaxIdleTimeMethod · 0.45
SwapMethod · 0.45

Tested by 2

TestAdaptivePoolMethod · 0.36