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

Method ~ThreadPool

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

Source from the content-addressed store, hash-verified

559}
560
561ThreadPool::~ThreadPool() {
562 if (shutdown_on_destroy_) {
563 ARROW_UNUSED(Shutdown(false /* wait */));
564 }
565}
566
567Status ThreadPool::SetCapacity(int threads) {
568 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