<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/threading.py, branch 3.8</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/threading.py?h=3.8</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/threading.py?h=3.8'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2020-04-07T21:35:52Z</updated>
<entry>
<title>bpo-40089: Fix threading._after_fork() (GH-19191) (GH-19194)</title>
<updated>2020-04-07T21:35:52Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2020-04-07T21:35:52Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6318e45bda6c37d5497f33a6039cdb65aa494c93'/>
<id>urn:sha1:6318e45bda6c37d5497f33a6039cdb65aa494c93</id>
<content type='text'>
If fork was not called by a thread spawned by threading.Thread,
threading._after_fork() now creates a _MainThread instance for
_main_thread, instead of a _DummyThread instance.
(cherry picked from commit d8ff44ce4cd6f3ec0fab5fccda6bf14afcb25c30)

Co-authored-by: Victor Stinner &lt;vstinner@python.org&gt;</content>
</entry>
<entry>
<title>Improve threading.daemon docstring (GH-14278)</title>
<updated>2019-06-23T19:06:21Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2019-06-23T19:06:21Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ea380f6946633cb6e5b1de61cf92e01c7e057ee8'/>
<id>urn:sha1:ea380f6946633cb6e5b1de61cf92e01c7e057ee8</id>
<content type='text'>
Rephrase and clarify that "the entire Python program exits when only daemon threads are left". This matches the documentation at https://docs.python.org/3/library/threading.htmlGH-thread-objects.
(cherry picked from commit bb110cc2ed81447fb48805f31146cf31323a8fc3)

Co-authored-by: mbarkhau &lt;mbarkhau@gmail.com&gt;</content>
</entry>
<entry>
<title>[3.8] bpo-36402: Fix threading._shutdown() race condition (GH-13948) (GH-14050)</title>
<updated>2019-06-13T11:44:23Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2019-06-13T11:44:23Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e40a97a721d46307dfdc2b0322028ccded6eb571'/>
<id>urn:sha1:e40a97a721d46307dfdc2b0322028ccded6eb571</id>
<content type='text'>
* bpo-36402: Fix threading._shutdown() race condition (GH-13948)

Fix a race condition at Python shutdown when waiting for threads.
Wait until the Python thread state of all non-daemon threads get
deleted (join all non-daemon threads), rather than just wait until
Python threads complete.

* Add threading._shutdown_locks: set of Thread._tstate_lock locks
  of non-daemon threads used by _shutdown() to wait until all Python
  thread states get deleted. See Thread._set_tstate_lock().
* Add also threading._shutdown_locks_lock to protect access to
  threading._shutdown_locks.
* Add test_finalization_shutdown() test.

(cherry picked from commit 468e5fec8a2f534f1685d59da3ca4fad425c38dd)

* bpo-36402: Fix threading.Thread._stop() (GH-14047)

Remove the _tstate_lock from _shutdown_locks, don't remove None.

(cherry picked from commit 6f75c873752a16a7ad8f35855b1e29f59d048e84)</content>
</entry>
<entry>
<title>bpo-1230540: Add threading.excepthook() (GH-13515)</title>
<updated>2019-05-27T22:39:52Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2019-05-27T22:39:52Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=cd590a7cede156a4244e7cac61e4504e5344d842'/>
<id>urn:sha1:cd590a7cede156a4244e7cac61e4504e5344d842</id>
<content type='text'>
Add a new threading.excepthook() function which handles uncaught
Thread.run() exception. It can be overridden to control how uncaught
exceptions are handled.

threading.ExceptHookArgs is not documented on purpose: it should not
be used directly.

* threading.excepthook() and threading.ExceptHookArgs.
* Add _PyErr_Display(): similar to PyErr_Display(), but accept a
  'file' parameter.
* Add _thread._excepthook(): C implementation of the exception hook
  calling _PyErr_Display().
* Add _thread._ExceptHookArgs: structseq type.
* Add threading._invoke_excepthook_wrapper() which handles the gory
  details to ensure that everything remains alive during Python
  shutdown.
* Add unit tests.</content>
</entry>
<entry>
<title>bpo-36084: Add native thread ID (TID) to threading.Thread (GH-13463)</title>
<updated>2019-05-22T15:43:16Z</updated>
<author>
<name>Jake Tesler</name>
<email>jake.tesler@gmail.com</email>
</author>
<published>2019-05-22T15:43:17Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b121f63155d8e3c7c42ab6122e36eaf7f5e9f7f5'/>
<id>urn:sha1:b121f63155d8e3c7c42ab6122e36eaf7f5e9f7f5</id>
<content type='text'>
Add native thread ID (TID) to threading.Thread objects
(supported platforms: Windows, FreeBSD, Linux, macOS).</content>
</entry>
<entry>
<title>Revert "bpo-36084: Add native thread ID to threading.Thread objects (GH-11993)" (GH-13458)</title>
<updated>2019-05-21T10:44:57Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2019-05-21T10:44:57Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d12e75734d46ecde588c5de65e6d64146911d20c'/>
<id>urn:sha1:d12e75734d46ecde588c5de65e6d64146911d20c</id>
<content type='text'>
This reverts commit 4959c33d2555b89b494c678d99be81a65ee864b0.</content>
</entry>
<entry>
<title>bpo-36084: Add native thread ID to threading.Thread objects (GH-11993)</title>
<updated>2019-05-12T17:08:24Z</updated>
<author>
<name>Jake Tesler</name>
<email>jake.tesler@gmail.com</email>
</author>
<published>2019-05-12T17:08:24Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4959c33d2555b89b494c678d99be81a65ee864b0'/>
<id>urn:sha1:4959c33d2555b89b494c678d99be81a65ee864b0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix typos and improve grammar in threading.Barrier docstrings (GH-12210)</title>
<updated>2019-03-09T17:38:05Z</updated>
<author>
<name>Carl Bordum Hansen</name>
<email>carl@bordum.dk</email>
</author>
<published>2019-03-09T17:38:05Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=62fa51f1216e788310d3118f4259f1b4b1e529fe'/>
<id>urn:sha1:62fa51f1216e788310d3118f4259f1b4b1e529fe</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bpo-35283: Update the docstring of threading.Thread.join method (GH-11596)</title>
<updated>2019-01-18T09:50:47Z</updated>
<author>
<name>Dong-hee Na</name>
<email>donghee.na92@gmail.com</email>
</author>
<published>2019-01-18T09:50:47Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=36d9e9a4d5238d5a2f09679b6c51be66fbfc12c4'/>
<id>urn:sha1:36d9e9a4d5238d5a2f09679b6c51be66fbfc12c4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bpo-35283: Add deprecation warning for Thread.isAlive (GH-11454)</title>
<updated>2019-01-17T12:14:45Z</updated>
<author>
<name>Dong-hee Na</name>
<email>donghee.na92@gmail.com</email>
</author>
<published>2019-01-17T12:14:45Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=89669ffe10a9db6343f6ee42239e412c8ad96bde'/>
<id>urn:sha1:89669ffe10a9db6343f6ee42239e412c8ad96bde</id>
<content type='text'>
Add a deprecated warning for the threading.Thread.isAlive() method.</content>
</entry>
</feed>
