app_python3 needs to call PyOS_AfterFork_Child()
/PyOS_AfterFork()
in real child processes.
We need a test for this: rank > 0 may not be sufficient due to
non-forking mode. This POC uses getpid().
doc/
subfolder, the README file is autogenerated)@miconda @henningw : this PR is for discussion only: in KEMI Python there is an interpreter function that needs to be called after fork()
in real child processes. I realise that rank > 0
may not be a completely correct test as kamailio has a non-forking mode. Your comments would be appreciated.
This POC uses getpid()
to detect a “real” child process.
https://github.com/kamailio/kamailio/pull/3139
(1 file)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.