Home
last modified time | relevance | path

Searched refs:workerMaxCount_ (Results 1 – 1 of 1) sorted by relevance

/thrift-3.4.0/lib/cpp/src/thrift/concurrency/
DThreadManager.cpp58 workerMaxCount_(0), in Impl()
155 size_t workerMaxCount_; member in apache::thrift::concurrency::ThreadManager::Impl
221 return (manager_->workerCount_ <= manager_->workerMaxCount_) in isActive()
250 bool active = manager_->workerCount_ < manager_->workerMaxCount_; in run()
252 if (++manager_->workerCount_ == manager_->workerMaxCount_) { in run()
334 if (--manager_->workerCount_ == manager_->workerMaxCount_) { in run()
354 workerMaxCount_ += value; in addWorker()
365 while (workerCount_ != workerMaxCount_) { in addWorker()
412 if (value > workerMaxCount_) { in removeWorkersUnderLock()
416 workerMaxCount_ -= value; in removeWorkersUnderLock()
[all …]