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

Function CreateSleepThreadPool

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

Source from the content-addressed store, hash-verified

817constexpr int kNumSleepThreads = 32;
818
819std::shared_ptr<ThreadPool> CreateSleepThreadPool() {
820 Result<std::shared_ptr<ThreadPool>> thread_pool =
821 ThreadPool::MakeEternal(kNumSleepThreads);
822 return thread_pool.ValueOrDie();
823}
824
825} // namespace
826

Callers 1

SleepABitAsyncFunction · 0.85

Calls 1

ValueOrDieMethod · 0.80

Tested by

no test coverage detected