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

Function Spawn

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

Source from the content-addressed store, hash-verified

82 // Spawn a fire-and-forget task.
83 template <typename Function>
84 Status Spawn(Function&& func) {
85 return SpawnReal(TaskHints{}, std::forward<Function>(func), StopToken::Unstoppable(),
86 StopCallback{});
87 }
88 template <typename Function>
89 Status Spawn(Function&& func, StopToken stop_token) {
90 return SpawnReal(TaskHints{}, std::forward<Function>(func), std::move(stop_token),

Callers 1

DoTransferFunction · 0.85

Calls 2

SpawnRealFunction · 0.85
UnstoppableFunction · 0.85

Tested by

no test coverage detected