diff options
author | Victor Stinner <vstinner@redhat.com> | 2019-04-24 14:47:40 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-24 14:47:40 (GMT) |
commit | 8bb3230149538c25c1bacced5e64a3c071475f73 (patch) | |
tree | 85cbf4d3ed1c1c47eced4b472083b5bd2dfa39e7 /Include/cpython/pystate.h | |
parent | 6c44fde3e03079e0c69f823dafbe04af50b5bd0d (diff) | |
download | cpython-8bb3230149538c25c1bacced5e64a3c071475f73.zip cpython-8bb3230149538c25c1bacced5e64a3c071475f73.tar.gz cpython-8bb3230149538c25c1bacced5e64a3c071475f73.tar.bz2 |
bpo-36710: Add runtime parameter to _PyThreadState_Init() (GH-12935)
* Add 'runtime' parameter to _PyThreadState_Init()
* Add 'gilstate' parameter to _PyGILState_NoteThreadState()
* Move _PyThreadState_Init() and _PyThreadState_DeleteExcept()
to the internal C API.
Diffstat (limited to 'Include/cpython/pystate.h')
-rw-r--r-- | Include/cpython/pystate.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Include/cpython/pystate.h b/Include/cpython/pystate.h index a0953f0..2341dda 100644 --- a/Include/cpython/pystate.h +++ b/Include/cpython/pystate.h @@ -155,8 +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) _PyThreadState_Init(PyThreadState *); -PyAPI_FUNC(void) _PyThreadState_DeleteExcept(PyThreadState *tstate); PyAPI_FUNC(void) _PyGILState_Reinit(void); /* Similar to PyThreadState_Get(), but don't issue a fatal error |