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

Method SetMaxIdleTime

util/thread/pool.cpp:608–612  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

606}
607
608void TAdaptiveThreadPool::SetMaxIdleTime(TDuration interval) {
609 Y_ENSURE_EX(Impl_.Get(), TThreadPoolException() << TStringBuf("mtp queue not started"));
610
611 Impl_->SetMaxIdleTime(interval);
612}
613
614TSimpleThreadPool::~TSimpleThreadPool() {
615 try {

Callers 1

StartMethod · 0.45

Calls 2

GetMethod · 0.45

Tested by

no test coverage detected