summaryrefslogtreecommitdiffstats
path: root/Include/cpython
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2019-04-24 15:14:33 (GMT)
committerGitHub <noreply@github.com>2019-04-24 15:14:33 (GMT)
commitb930a2d2b1247bdba560db341ba90a9cbb538eb3 (patch)
treeed2cd1a40f8150e1c498eca98427c9af4f1c7ada /Include/cpython
parent8bb3230149538c25c1bacced5e64a3c071475f73 (diff)
downloadcpython-b930a2d2b1247bdba560db341ba90a9cbb538eb3.zip
cpython-b930a2d2b1247bdba560db341ba90a9cbb538eb3.tar.gz
cpython-b930a2d2b1247bdba560db341ba90a9cbb538eb3.tar.bz2
bpo-36710: PyOS_AfterFork_Child() pass runtime parameter (GH-12936)
The PyOS_AfterFork_Child() function now pass a 'runtime' parameter to subfunctions. * Fix _PyRuntimeState_ReInitThreads(): use the correct memory allocator * Add runtime parameter to _PyRuntimeState_ReInitThreads(), _PyGILState_Reinit() and _PyInterpreterState_DeleteExceptMain() * Move _PyGILState_Reinit() to the internal C API.
Diffstat (limited to 'Include/cpython')
-rw-r--r--Include/cpython/pystate.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/Include/cpython/pystate.h b/Include/cpython/pystate.h
index 2341dda..94331f3 100644
--- a/Include/cpython/pystate.h
+++ b/Include/cpython/pystate.h
@@ -155,7 +155,6 @@ PyAPI_FUNC(PyInterpreterState *) _PyInterpreterState_Get(void);
PyAPI_FUNC(int) _PyState_AddModule(PyObject*, struct PyModuleDef*);
PyAPI_FUNC(void) _PyState_ClearModules(void);
PyAPI_FUNC(PyThreadState *) _PyThreadState_Prealloc(PyInterpreterState *);
-PyAPI_FUNC(void) _PyGILState_Reinit(void);
/* Similar to PyThreadState_Get(), but don't issue a fatal error
* if it is NULL. */