MCPcopy Create free account
hub / github.com/apache/arrow / ~ThreadPool

Method ~ThreadPool

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

Source from the content-addressed store, hash-verified

558}
559
560ThreadPool::~ThreadPool() {
561 if (shutdown_on_destroy_) {
562 ARROW_UNUSED(Shutdown(false /* wait */));
563 }
564}
565
566Status ThreadPool::SetCapacity(int threads) {
567 std::unique_lock<std::mutex> lock(state_->mutex_);

Callers

nothing calls this directly

Calls 2

ShutdownFunction · 0.85
swapFunction · 0.85

Tested by

no test coverage detected