@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."