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

Method GetActualCapacity

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

Source from the content-addressed store, hash-verified

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