This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Simplify and improve Thread.join()
Type: behavior Stage: patch review
Components: Library (Lib) Versions: Python 3.2, Python 2.7
process
Status: closed Resolution: rejected
Dependencies: Superseder:
Assigned To: Nosy List: benjamin.peterson, gregory.p.smith, jyasskin, pitrou
Priority: low Keywords: patch

Created on 2009-10-27 23:30 by pitrou, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
join.patch pitrou, 2009-10-27 23:30
Messages (4)
msg94587 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2009-10-27 23:30
This patch improves and simplifies Thread.join() by making sure that the
__bootstrap() method is finished before join() returns. While it does
improve the resource deallocation behaviour, it is still enough for
solving all refleak detection hazards (see #7222).
msg94589 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2009-10-27 23:33
(I meant not enough, of course)
msg94590 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2009-10-27 23:35
This patch relies on ref counting behavior, an unfortunate side-effect
for other implementations.
msg94591 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2009-10-27 23:36
Indeed. Let's consider it closed then.
History
Date User Action Args
2022-04-11 14:56:54adminsetgithub: 51472
2009-10-27 23:36:40pitrousetstatus: open -> closed
resolution: rejected
messages: + msg94591
2009-10-27 23:35:45benjamin.petersonsetnosy: + benjamin.peterson
messages: + msg94590
2009-10-27 23:33:33pitrousetmessages: + msg94589
2009-10-27 23:30:54pitroucreate