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

Method GetActualCapacity

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

Source from the content-addressed store, hash-verified

599}
600
601int ThreadPool::GetActualCapacity() {
602 std::unique_lock<std::mutex> lock(state_->mutex_);
603 return static_cast<int>(state_->workers_.size());
604}
605
606Status ThreadPool::Shutdown(bool wait) {
607 std::unique_lock<std::mutex> lock(state_->mutex_);

Callers 2

TEST_FFunction · 0.80
TESTFunction · 0.80

Calls 1

sizeMethod · 0.45

Tested by 2

TEST_FFunction · 0.64
TESTFunction · 0.64