MCPcopy Create free account
hub / github.com/apache/thrift / removeWorker

Method removeWorker

lib/cpp/src/thrift/concurrency/ThreadManager.cpp:406–409  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

404}
405
406void ThreadManager::Impl::removeWorker(size_t value) {
407 Guard g(mutex_);
408 removeWorkersUnderLock(value);
409}
410
411void ThreadManager::Impl::removeWorkersUnderLock(size_t value) {
412 if (value > workerMaxCount_) {

Callers 1

Calls

no outgoing calls

Tested by 1