[sr-dev] [kamailio/kamailio] kemi python3: exception occur when import logging module (#2885)

aalba6675 notifications at github.com
Thu Nov 4 16:38:30 CET 2021


@miconda is there a hook function in the main process to call  when after all the children have be forked?
Like mod_post() {/* this function is called in the main process when all the children have been forked* */}

I am trying to find a good place to insert a call to PyOS_AfterFork_Parent()

"Function to update some internal state after a process fork. This should be called from the parent process after calling fork() or any similar function that clones the current process, regardless of whether process cloning was successful. Only available on systems where fork() is defined."

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2885#issuecomment-961164440
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20211104/298a8e9c/attachment.htm>


More information about the sr-dev mailing list