summaryrefslogtreecommitdiffstats
path: root/Include/internal/pycore_pystate.h
diff options
context:
space:
mode:
authorEric Snow <ericsnowcurrently@gmail.com>2019-03-09 06:44:33 (GMT)
committerGitHub <noreply@github.com>2019-03-09 06:44:33 (GMT)
commit8479a3426eb7d1840473f7788e639954363ed37e (patch)
tree9d588c5c30e29d0ab6d6aa0e25c53caba8c5b593 /Include/internal/pycore_pystate.h
parent5be45a6105d656c551adeee7770afdc3b806fbb5 (diff)
downloadcpython-8479a3426eb7d1840473f7788e639954363ed37e.zip
cpython-8479a3426eb7d1840473f7788e639954363ed37e.tar.gz
cpython-8479a3426eb7d1840473f7788e639954363ed37e.tar.bz2
bpo-33608: Make sure locks in the runtime are properly re-created. (gh-12245)
Diffstat (limited to 'Include/internal/pycore_pystate.h')
-rw-r--r--Include/internal/pycore_pystate.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/internal/pycore_pystate.h b/Include/internal/pycore_pystate.h
index 2b913de..456dda2 100644
--- a/Include/internal/pycore_pystate.h
+++ b/Include/internal/pycore_pystate.h
@@ -229,6 +229,7 @@ typedef struct pyruntimestate {
PyAPI_DATA(_PyRuntimeState) _PyRuntime;
PyAPI_FUNC(_PyInitError) _PyRuntimeState_Init(_PyRuntimeState *);
PyAPI_FUNC(void) _PyRuntimeState_Fini(_PyRuntimeState *);
+PyAPI_FUNC(void) _PyRuntimeState_ReInitThreads(void);
/* Initialize _PyRuntimeState.
Return NULL on success, or return an error message on failure. */