summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-06-02 16:44:54 (GMT)
committerGitHub <noreply@github.com>2020-06-02 16:44:54 (GMT)
commit317bab0bf61e4cbab37c81baf185d8b57ca62a6b (patch)
treefb72064426f3bf0c9a91360397bcd0bf651590e0 /Include
parent45b34a04a577aa49fa4825421758c3e8eaa1625d (diff)
downloadcpython-317bab0bf61e4cbab37c81baf185d8b57ca62a6b.zip
cpython-317bab0bf61e4cbab37c81baf185d8b57ca62a6b.tar.gz
cpython-317bab0bf61e4cbab37c81baf185d8b57ca62a6b.tar.bz2
PyOS_AfterFork_Child() pass tstate to _PyEval_ReInitThreads() (GH-20598)
Diffstat (limited to 'Include')
-rw-r--r--Include/internal/pycore_ceval.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/internal/pycore_ceval.h b/Include/internal/pycore_ceval.h
index 2da0154..aafb533 100644
--- a/Include/internal/pycore_ceval.h
+++ b/Include/internal/pycore_ceval.h
@@ -25,7 +25,7 @@ PyAPI_FUNC(int) _PyEval_AddPendingCall(
void *arg);
PyAPI_FUNC(void) _PyEval_SignalAsyncExc(PyThreadState *tstate);
#ifdef HAVE_FORK
-extern PyStatus _PyEval_ReInitThreads(struct pyruntimestate *runtime);
+extern PyStatus _PyEval_ReInitThreads(PyThreadState *tstate);
#endif
PyAPI_FUNC(void) _PyEval_SetCoroutineOriginTrackingDepth(
PyThreadState *tstate,