MCPcopy Create free account
hub / github.com/apache/arrow / GetCapacity

Method GetCapacity

cpp/src/arrow/util/thread_pool.cc:590–593  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

588}
589
590int ThreadPool::GetCapacity() {
591 std::unique_lock<std::mutex> lock(state_->mutex_);
592 return state_->desired_capacity_;
593}
594
595int ThreadPool::GetNumTasks() {
596 std::unique_lock<std::mutex> lock(state_->mutex_);

Callers 5

parallelismMethod · 0.45
GetCapacityFunction · 0.45
GetCpuThreadPoolCapacityFunction · 0.45
TEST_FFunction · 0.45
TESTFunction · 0.45

Calls

no outgoing calls

Tested by 3

GetCapacityFunction · 0.36
TEST_FFunction · 0.36
TESTFunction · 0.36