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