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:561–565 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
559
}
560
561
ThreadPool::~ThreadPool() {
562
if (shutdown_on_destroy_) {
563
ARROW_UNUSED(Shutdown(false /* wait */));
564
}
565
}
566
567
Status ThreadPool::SetCapacity(int threads) {
568
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