| 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; } |
no test coverage detected