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

Method CancellableIOContext

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

Source from the content-addressed store, hash-verified

95 }
96
97 arrow::io::IOContext CancellableIOContext() {
98 return arrow::io::IOContext(gc_memory_pool(),
99 MainRThread::GetInstance().GetStopToken());
100 }
101
102 // Check if a SafeCallIntoR call is able to execute
103 bool CanExecuteSafeCallIntoR() { return IsMainThread() || executor_ != nullptr; }

Callers 6

csv___TableReader__MakeFunction · 0.80
fs___FileSystemFromUriFunction · 0.80
fs___GcsFileSystem__MakeFunction · 0.80

Calls 3

gc_memory_poolFunction · 0.85
GetStopTokenMethod · 0.80
IOContextClass · 0.50

Tested by

no test coverage detected