summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2004-10-11 02:40:51 (GMT)
committerTim Peters <tim.peters@gmail.com>2004-10-11 02:40:51 (GMT)
commit7f468f29f49786988e4f1a005174578fc83c7eb9 (patch)
tree0a675ca5df1a5df96404213998dc51672394328e /Misc
parent89c0ec9beba4e6b086e74345bc1ef15041bd5e7d (diff)
downloadcpython-7f468f29f49786988e4f1a005174578fc83c7eb9.zip
cpython-7f468f29f49786988e4f1a005174578fc83c7eb9.tar.gz
cpython-7f468f29f49786988e4f1a005174578fc83c7eb9.tar.bz2
SF patch 1044089: New C API function PyEval_ThreadsInitialized(), by Nick
Coghlan, for determining whether PyEval_InitThreads() has been called. Also purged the undocumented+unused _PyThread_Started int.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 87c6f37..d547204 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -136,6 +136,11 @@ Build
C API
-----
+- SF patch 1044089: New function ``PyEval_ThreadsInitialized()`` returns
+ non-zero if PyEval_InitThreads() has been called.
+
+- The undocumented and unused extern int ``_PyThread_Started`` was removed.
+
- The C API calls ``PyInterpreterState_New()`` and ``PyThreadState_New()``
are two of the very few advertised as being safe to call without holding
the GIL. However, this wasn't true in a debug build, as bug 1041645