summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-03-25 20:23:53 (GMT)
committerGitHub <noreply@github.com>2020-03-25 20:23:53 (GMT)
commit5c3cda0d1a850a1a9b43892f48376b8876bd5863 (patch)
tree723a2cb38dfec21de9cabe70d2bc952986788f5f /Misc
parent0e427c6d159e86f17270770cd8dc37372e3c4004 (diff)
downloadcpython-5c3cda0d1a850a1a9b43892f48376b8876bd5863.zip
cpython-5c3cda0d1a850a1a9b43892f48376b8876bd5863.tar.gz
cpython-5c3cda0d1a850a1a9b43892f48376b8876bd5863.tar.bz2
bpo-39947: Add PyThreadState_GetID() function (GH-19163)
Add PyThreadState_GetID() function: get the unique identifier of a Python thread state.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/C API/2020-03-25-19-44-55.bpo-39947.2OxvPt.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/C API/2020-03-25-19-44-55.bpo-39947.2OxvPt.rst b/Misc/NEWS.d/next/C API/2020-03-25-19-44-55.bpo-39947.2OxvPt.rst
new file mode 100644
index 0000000..e9910a5
--- /dev/null
+++ b/Misc/NEWS.d/next/C API/2020-03-25-19-44-55.bpo-39947.2OxvPt.rst
@@ -0,0 +1,2 @@
+Add :c:func:`PyThreadState_GetID` function: get the unique identifier of a
+Python thread state.