summaryrefslogtreecommitdiffstats
path: root/Include/cpython/pystate.h
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2019-04-24 14:47:40 (GMT)
committerGitHub <noreply@github.com>2019-04-24 14:47:40 (GMT)
commit8bb3230149538c25c1bacced5e64a3c071475f73 (patch)
tree85cbf4d3ed1c1c47eced4b472083b5bd2dfa39e7 /Include/cpython/pystate.h
parent6c44fde3e03079e0c69f823dafbe04af50b5bd0d (diff)
downloadcpython-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.h2
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