MCPcopy Create free account
hub / github.com/apache/arrow / operator()

Function operator()

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

Source from the content-addressed store, hash-verified

152 WeakFuture<ValueType> weak_fut;
153
154 void operator()(const Status& st) {
155 auto fut = weak_fut.get();
156 if (fut.is_valid()) {
157 fut.MarkFinished(st);
158 }
159 }
160 } stop_callback{WeakFuture<ValueType>(future)};
161 ARROW_RETURN_NOT_OK(SpawnReal(hints, std::move(task), std::move(stop_token),
162 std::move(stop_callback)));

Callers

nothing calls this directly

Calls 3

getMethod · 0.45
is_validMethod · 0.45
MarkFinishedMethod · 0.45

Tested by

no test coverage detected