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

Function CreateSleepThreadPool

cpp/src/arrow/testing/gtest_util.cc:823–827  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

821constexpr int kNumSleepThreads = 32;
822
823std::shared_ptr<ThreadPool> CreateSleepThreadPool() {
824 Result<std::shared_ptr<ThreadPool>> thread_pool =
825 ThreadPool::MakeEternal(kNumSleepThreads);
826 return thread_pool.ValueOrDie();
827}
828
829} // namespace
830

Callers 1

SleepABitAsyncFunction · 0.85

Calls 1

ValueOrDieMethod · 0.80

Tested by

no test coverage detected