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

Method GetCapacity

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

Source from the content-addressed store, hash-verified

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

Callers 15

TESTFunction · 0.45
GetIOThreadPoolCapacityFunction · 0.45
JoinBenchmarkMethod · 0.45
StartProducingMethod · 0.45
TESTFunction · 0.45
MakeMethod · 0.45
InitMethod · 0.45
MakeMethod · 0.45
MakeAsyncMethod · 0.45
parallelismMethod · 0.45
GetCapacityFunction · 0.45

Calls

no outgoing calls

Tested by 6

TESTFunction · 0.36
TESTFunction · 0.36
GetCapacityFunction · 0.36
TEST_FFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36