paleolimbot commented on PR #13635: URL: https://github.com/apache/arrow/pull/13635#issuecomment-1190719765
`RegisterThreadSafeUserInterruptChecker()` is my made up name for however one registers the callback that is forwarded from whatever is checking the stop token. It sounds like this is sightly different than the JIRA, which is forwarding stop requests (I was hoping to forward the call from whatever *checking* for stop requests). As I understand it, R already has what is basically a global stop token implemented via a signal handler; however, there is no thread-safe way to query it. Because we have `SafeCallIntoR()`, we *can* query it from any thread (but I don't think there's an API to insert that callable into Arrow). I'm sure temporarily overriding R's signal handler is fine too, I just don't have confidence in my ability to do that safely before the release. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
