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

Method GetCapacity

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

Source from the content-addressed store, hash-verified

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