mirror of
https://github.com/python/cpython.git
synced 2024-11-28 20:33:54 +08:00
Added documentation for PyOS_AfterFork().
This commit is contained in:
parent
2b9e180ec3
commit
cabbc3be5b
@ -1033,6 +1033,13 @@ The result is encoded in the same way as the timestamp returned by
|
|||||||
the standard C library function \cfunction{time()}.
|
the standard C library function \cfunction{time()}.
|
||||||
\end{cfuncdesc}
|
\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}}
|
\section{Process Control \label{processControl}}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user