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

Method GetMaxQueueSize

util/thread/pool.cpp:360–366  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

358}
359
360size_t TThreadPool::GetMaxQueueSize() const noexcept {
361 if (!Impl_.Get()) {
362 return 0;
363 }
364
365 return Impl_->GetMaxQueueSize();
366}
367
368bool TThreadPool::Add(IObjectInQueue* obj) {
369 Y_ENSURE_EX(Impl_.Get(), TThreadPoolException() << TStringBuf("mtp queue not started"));

Callers 2

Y_UNIT_TESTFunction · 0.45
AddMethod · 0.45

Calls 1

GetMethod · 0.45

Tested by

no test coverage detected