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

Function SafeCallIntoRVoid

r/src/safe-call-into-r.h:257–266  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

255}
256
257static inline arrow::Status SafeCallIntoRVoid(std::function<void(void)> fun,
258 std::string reason = "unspecified") {
259 arrow::Future<bool> future = SafeCallIntoRAsync<bool>(
260 [&fun]() {
261 fun();
262 return true;
263 },
264 reason);
265 return future.status();
266}
267
268// Performs an Arrow call (e.g., run an exec plan) in such a way that background threads
269// can use SafeCallIntoR(). This version is useful for Arrow calls that already

Callers 6

CloseMethod · 0.85
WriteBaseMethod · 0.85
SeekBaseMethod · 0.85
CallRScalarUDFFunction · 0.85
ReadNextMethod · 0.85
GcAndTryAgainMethod · 0.85

Calls 1

statusMethod · 0.45

Tested by

no test coverage detected