commit | 59c44f36e0a575671c0e8dab6a9de88666e481b0 | [log] [tgz] |
---|---|---|
author | Antoine Pitrou <solipsis@pitrou.net> | Fri Oct 30 17:07:08 2009 +0000 |
committer | Antoine Pitrou <solipsis@pitrou.net> | Fri Oct 30 17:07:08 2009 +0000 |
tree | d56d849af56fbc8af46e39c316cbfb1bb86cce36 | |
parent | 93c21714946d5fa287bb4aa1d9acb46d55f0b742 [diff] |
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:hread._count().