]> granicus.if.org Git - python/commit
Issue #7222: Make thread "reaping" more reliable so that reference
authorAntoine Pitrou <solipsis@pitrou.net>
Fri, 30 Oct 2009 17:07:08 +0000 (17:07 +0000)
committerAntoine Pitrou <solipsis@pitrou.net>
Fri, 30 Oct 2009 17:07:08 +0000 (17:07 +0000)
commit59c44f36e0a575671c0e8dab6a9de88666e481b0
treed56d849af56fbc8af46e39c316cbfb1bb86cce36
parent93c21714946d5fa287bb4aa1d9acb46d55f0b742
Issue #7222: Make thread "reaping" more reliable so that reference
leak-chasing test runs give sensible results. The previous method of
reaping threads could return successfully while some Thread objects were
still referenced. This also introduces a new private function:
:func:\14hread._count().
Doc/library/thread.rst
Lib/test/test_support.py
Lib/test/test_thread.py
Misc/NEWS
Modules/threadmodule.c