paleolimbot commented on PR #14250: URL: https://github.com/apache/arrow/pull/14250#issuecomment-1298389526
In the example I've been using the sequence is (I think) - Package load: create stop source - (do some Arrow setup stuff) - Use fork() to create workers in `mclapply()` - Every R call into C++ that launches a new thread: register signal handlers - For every C++ call into R via SafeCallIntoR, unregister signal handlers for the duration of the call (this might not be necessary) - When the R call into C++ returns control to R, unregister signal handlers - On package unload (usually when the process is about to end), destroy the stop source In this example... The sequence is: -- 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]
