summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-06-28 15:53:13 (GMT)
committerFred Drake <fdrake@acm.org>2000-06-28 15:53:13 (GMT)
commitcabbc3be5bd48d4a3e30066e0588a85dd6ebb821 (patch)
tree6313dd5ce6fb6be21ab6a9e2f1e7a0a8ffff953a /Doc
parent2b9e180ec36b5242e0e51b360b757dfa356aebea (diff)
downloadcpython-cabbc3be5bd48d4a3e30066e0588a85dd6ebb821.zip
cpython-cabbc3be5bd48d4a3e30066e0588a85dd6ebb821.tar.gz
cpython-cabbc3be5bd48d4a3e30066e0588a85dd6ebb821.tar.bz2
Added documentation for PyOS_AfterFork().
Diffstat (limited to 'Doc')
-rw-r--r--Doc/api/api.tex7
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/api/api.tex b/Doc/api/api.tex
index faadd2a..c7b2d45 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}}