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

Method Make

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

Source from the content-addressed store, hash-verified

693}
694
695Result<std::shared_ptr<ThreadPool>> ThreadPool::Make(int threads) {
696 auto pool = std::shared_ptr<ThreadPool>(new ThreadPool());
697 RETURN_NOT_OK(pool->SetCapacity(threads));
698 return pool;
699}
700
701Result<std::shared_ptr<ThreadPool>> ThreadPool::MakeEternal(int threads) {
702 ARROW_ASSIGN_OR_RAISE(auto pool, Make(threads));

Callers

nothing calls this directly

Calls 1

SetCapacityMethod · 0.80

Tested by

no test coverage detected