summaryrefslogtreecommitdiffstats
path: root/Include/ceval.h
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2019-04-29 11:04:07 (GMT)
committerGitHub <noreply@github.com>2019-04-29 11:04:07 (GMT)
commit99fcc616d400cd31af0733c3f8cc93bcc1d32a44 (patch)
tree0081a47a3cae0a556affff285079a9361c5b8c45 /Include/ceval.h
parentb36e5d627d4232a01850707eb78a5067f3fd77f4 (diff)
downloadcpython-99fcc616d400cd31af0733c3f8cc93bcc1d32a44.zip
cpython-99fcc616d400cd31af0733c3f8cc93bcc1d32a44.tar.gz
cpython-99fcc616d400cd31af0733c3f8cc93bcc1d32a44.tar.bz2
Revert "bpo-36356: Destroy the GIL at exit (GH-12453)" (GH613006)
This reverts commit b36e5d627d4232a01850707eb78a5067f3fd77f4.
Diffstat (limited to 'Include/ceval.h')
-rw-r--r--Include/ceval.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Include/ceval.h b/Include/ceval.h
index 98e873d..11283c0 100644
--- a/Include/ceval.h
+++ b/Include/ceval.h
@@ -192,6 +192,9 @@ PyAPI_FUNC(void) PyEval_RestoreThread(PyThreadState *);
PyAPI_FUNC(int) PyEval_ThreadsInitialized(void);
PyAPI_FUNC(void) PyEval_InitThreads(void);
+#ifndef Py_LIMITED_API
+PyAPI_FUNC(void) _PyEval_FiniThreads(void);
+#endif /* !Py_LIMITED_API */
PyAPI_FUNC(void) PyEval_AcquireLock(void) Py_DEPRECATED(3.2);
PyAPI_FUNC(void) PyEval_ReleaseLock(void) /* Py_DEPRECATED(3.2) */;
PyAPI_FUNC(void) PyEval_AcquireThread(PyThreadState *tstate);