summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-07-30 21:49:23 (GMT)
committerGitHub <noreply@github.com>2019-07-30 21:49:23 (GMT)
commit7026737d77836657c3b713000c3154cfdb7451db (patch)
tree525016fc078faeae530ab10b6c1437d2823ec3f8 /Doc/whatsnew
parent0f9efbcf9a051198dc9e226528d5c5d24a52d23a (diff)
downloadcpython-7026737d77836657c3b713000c3154cfdb7451db.zip
cpython-7026737d77836657c3b713000c3154cfdb7451db.tar.gz
cpython-7026737d77836657c3b713000c3154cfdb7451db.tar.bz2
bpo-36084: Add threading Native ID information to What's New documentation (GH-14845)
(cherry picked from commit 84846b0187919551b1b08dca447658bbbbb710b1) Co-authored-by: Jake Tesler <jake.tesler@gmail.com>
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.8.rst16
1 files changed, 12 insertions, 4 deletions
diff --git a/Doc/whatsnew/3.8.rst b/Doc/whatsnew/3.8.rst
index f8cc330..8cfe880 100644
--- a/Doc/whatsnew/3.8.rst
+++ b/Doc/whatsnew/3.8.rst
@@ -765,10 +765,18 @@ in a standardized and extensible format, and offers several other benefits.
threading
---------
-Add a new :func:`threading.excepthook` function which handles uncaught
-:meth:`threading.Thread.run` exception. It can be overridden to control how
-uncaught :meth:`threading.Thread.run` exceptions are handled.
-(Contributed by Victor Stinner in :issue:`1230540`.)
+* Add a new :func:`threading.excepthook` function which handles uncaught
+ :meth:`threading.Thread.run` exception. It can be overridden to control how
+ uncaught :meth:`threading.Thread.run` exceptions are handled.
+ (Contributed by Victor Stinner in :issue:`1230540`.)
+
+* Add a new
+ :func:`threading.get_native_id` function and a :data:`~threading.Thread.native_id`
+ attribute to the :class:`threading.Thread` class. These return the native
+ integral Thread ID of the current thread assigned by the kernel.
+ This feature is only available on certain platforms, see
+ :func:`get_native_id <threading.get_native_id>` for more information.
+ (Contributed by Jake Tesler in :issue:`36084`.)
tokenize