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

Function CreateSleepThreadPool

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

Source from the content-addressed store, hash-verified

825constexpr int kNumSleepThreads = 32;
826
827std::shared_ptr<ThreadPool> CreateSleepThreadPool() {
828 Result<std::shared_ptr<ThreadPool>> thread_pool =
829 ThreadPool::MakeEternal(kNumSleepThreads);
830 return thread_pool.ValueOrDie();
831}
832
833} // namespace
834

Callers 1

SleepABitAsyncFunction · 0.85

Calls 1

ValueOrDieMethod · 0.80

Tested by

no test coverage detected