Author erik.bray
Recipients EdSchouten, erik.bray, haypo, r.david.murray
Date 2016-08-31.17:08:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1472663290.86.0.0073551052455.issue25658@psf.upfronthosting.co.za>
In-reply-to
Content
Ah, I wasn't thinking clearly toward the bottom of my last message.  I see now that after a fork, _PyGILState_Reinit calls PyThread_delete_key followed by a new PyThread_create_key--in the current version of my patch that would result in putting the autoTLSkey at the end of the linked list, which is no good.  That could be worked around, but...

Ed's version looks good to me.  I had the same idea as an alternative, though was a little concerned with the possibility that the array could grow too large.  But as I wrote in my last message that would be an extreme case.  And regardless his version will at least maintain constant time, so +1.
History
Date User Action Args
2016-08-31 17:08:10erik.braysetrecipients: + erik.bray, haypo, r.david.murray, EdSchouten
2016-08-31 17:08:10erik.braysetmessageid: <1472663290.86.0.0073551052455.issue25658@psf.upfronthosting.co.za>
2016-08-31 17:08:10erik.braylinkissue25658 messages
2016-08-31 17:08:10erik.braycreate