Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
560
ThreadPool::~ThreadPool() {
561
if (shutdown_on_destroy_) {
562
ARROW_UNUSED(Shutdown(false /* wait */));
563
}
564
}
565
566
Status ThreadPool::SetCapacity(int threads) {
567
std::unique_lock<std::mutex> lock(state_->mutex_);
Callers
nothing calls this directly
Calls
2
Shutdown
Function · 0.85
swap
Function · 0.85
Tested by
no test coverage detected