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

Method CanExecuteSafeCallIntoR

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

Check if a SafeCallIntoR call is able to execute

Source from the content-addressed store, hash-verified

101
102 // Check if a SafeCallIntoR call is able to execute
103 bool CanExecuteSafeCallIntoR() { return IsMainThread() || executor_ != nullptr; }
104
105 // The Executor that is running on the main R thread, if it exists
106 arrow::internal::Executor*& Executor() { return executor_; }

Callers 1

SafeCallIntoRAsyncFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected