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

Method GetActualCapacity

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

Source from the content-addressed store, hash-verified

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