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

Function SleepABitAsync

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

Source from the content-addressed store, hash-verified

825} // namespace
826
827Future<> SleepABitAsync() {
828 static std::shared_ptr<ThreadPool> sleep_tp = CreateSleepThreadPool();
829 return DeferNotOk(sleep_tp->Submit([] { SleepABit(); }));
830}
831
832///////////////////////////////////////////////////////////////////////////
833// 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