From: Fred Drake Date: Wed, 28 Jun 2000 15:53:13 +0000 (+0000) Subject: Added documentation for PyOS_AfterFork(). X-Git-Tag: v2.0b1~1378 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cabbc3be5bd48d4a3e30066e0588a85dd6ebb821;p=python Added documentation for PyOS_AfterFork(). --- diff --git a/Doc/api/api.tex b/Doc/api/api.tex index faadd2acb2..c7b2d45654 100644 --- a/Doc/api/api.tex +++ b/Doc/api/api.tex @@ -1033,6 +1033,13 @@ The result is encoded in the same way as the timestamp returned by the standard C library function \cfunction{time()}. \end{cfuncdesc} +\begin{cfuncdesc}{void}{PyOS_AfterFork}{} +Function to update some internal state after a process fork; this +should be called in the new process if the Python interpreter will +continue to be used. If a new executable is loaded into the new +process, this function does not need to be called. +\end{cfuncdesc} + \section{Process Control \label{processControl}}