Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
84846b01
Commit
84846b01
authored
Jul 30, 2019
by
Jake Tesler
Committed by
Victor Stinner
Jul 30, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bpo-36084: Add threading Native ID information to What's New documentation (GH-14845)
parent
eca7ffc6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
5 deletions
+13
-5
Doc/library/threading.rst
Doc/library/threading.rst
+1
-1
Doc/whatsnew/3.8.rst
Doc/whatsnew/3.8.rst
+12
-4
No files found.
Doc/library/threading.rst
View file @
84846b01
...
...
@@ -371,7 +371,7 @@ since it is impossible to detect the termination of alien threads.
system-wide) from the time the thread is created until the thread
has been terminated.
.. availability:: Require :func:`get_native_id` function.
.. availability:: Require
s
:func:`get_native_id` function.
.. versionadded:: 3.8
...
...
Doc/whatsnew/3.8.rst
View file @
84846b01
...
...
@@ -768,10 +768,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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment