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

Function RunInSerialExecutor

cpp/src/arrow/util/thread_pool.h:299–302  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

297 template <typename T = internal::Empty, typename FT = Future<T>,
298 typename FTSync = typename FT::SyncType>
299 static FTSync RunInSerialExecutor(TopLevelTask<T> initial_task) {
300 Future<T> fut = SerialExecutor().Run<T>(std::move(initial_task));
301 return FutureToSync(fut);
302 }
303
304 /// \brief Transform an AsyncGenerator into an Iterator
305 ///

Callers

nothing calls this directly

Calls 1

FutureToSyncFunction · 0.85

Tested by

no test coverage detected