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

Function SleepABitAsync

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

Source from the content-addressed store, hash-verified

833} // namespace
834
835Future<> SleepABitAsync() {
836 static std::shared_ptr<ThreadPool> sleep_tp = CreateSleepThreadPool();
837 return DeferNotOk(sleep_tp->Submit([] { SleepABit(); }));
838}
839
840///////////////////////////////////////////////////////////////////////////
841// Extension types

Callers 6

DeliverBatchesMethod · 0.85
DeliverInitMethod · 0.85
SlowdownABitFunction · 0.85
TESTFunction · 0.85
TESTFunction · 0.85
TEST_PFunction · 0.85

Calls 3

CreateSleepThreadPoolFunction · 0.85
DeferNotOkFunction · 0.85
SleepABitFunction · 0.85

Tested by

no test coverage detected