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.

Author josh.r
Recipients BreamoreBoy, Noah.Yetter, jnoller, josh.r, sbt
Date 2014-07-18.00:22:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1405642945.61.0.19611440683.issue17127@psf.upfronthosting.co.za>
In-reply-to
Content
Actually, now that I think about, most thread local stuff wouldn't be freed automatically either, since it's still allocated from a common pool of memory, and interleaved allocations would still prevent memory blocks from being returned to the OS. As far as behavior goes, assuming you aren't explicitly checking thread IDs (which should be meaningless to worker threads anyway; the tasks are assigned arbitrarily), clearing out the thread local storage when a thread exits would be equivalent to ending one worker thread and starting a new one.
History
Date User Action Args
2014-07-18 00:22:25josh.rsetrecipients: + josh.r, jnoller, BreamoreBoy, sbt, Noah.Yetter
2014-07-18 00:22:25josh.rsetmessageid: <1405642945.61.0.19611440683.issue17127@psf.upfronthosting.co.za>
2014-07-18 00:22:25josh.rlinkissue17127 messages
2014-07-18 00:22:24josh.rcreate