Issue #7222: Make thread "reaping" more reliable so that reference
commit23088d093cd34f345f1ec641d63082088c6647d4
authorantoine.pitrou <antoine.pitrou@6015fed2-1504-0410-9fe1-9d1591cc4771>
Fri, 30 Oct 2009 17:07:08 +0000 (30 17:07 +0000)
committerantoine.pitrou <antoine.pitrou@6015fed2-1504-0410-9fe1-9d1591cc4771>
Fri, 30 Oct 2009 17:07:08 +0000 (30 17:07 +0000)
treeb371ef29a4530f2f81552679a4975f243f82bc48
parent254bfb718097507029fdd88faf8046069fe65013
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:?\020hread._count().

git-svn-id: http://svn.python.org/projects/python/trunk@75958 6015fed2-1504-0410-9fe1-9d1591cc4771
Doc/library/thread.rst
Lib/test/test_support.py
Lib/test/test_thread.py
Misc/NEWS
Modules/threadmodule.c