pitrou opened a new issue, #49146: URL: https://github.com/apache/arrow/issues/49146
### Describe the enhancement requested The atfork handlers we register in Arrow C++ are generally useful if the Arrow APIs are meant to be used from the child process, but they also have the unfortunate effect of executing non-async-signal-safe code in the child process even if Arrow is not be used there. That is [not allowed by POSIX](https://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_atfork.html) if the parent process is multi-threaded. There are situations where fork() is only called just before exec(), and therefore it is not necessary to run any atfork handler. We could add an option to disable our atfork handlers for this kind of situation. ### Component(s) C++ -- 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]
