homepage

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 masamoto
Recipients EdSchouten, erik.bray, masamoto, ncoghlan, r.david.murray, vstinner
Date 2017年07月14日.08:34:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1500021243.48.0.132736268663.issue25658@psf.upfronthosting.co.za>
In-reply-to
Content
Hi, I attempted Nick's proposal and removed unused codes from TLS implementation (bpo-30279, bpo-30832). This change looks good to me (PR 1362).
As the result, I think ready to be more slim API because the own implementation for TLS was removed. Therefore, additional proposal to two API functions:
* Omit PyThread_ReInitTSS function
* Omit PyThread_tss_delete_value function
These functions have handled memory deallocation to key-value storage on the own implementation, but above said, currently the own implementation is gone. It means:
1. PyThread_ReInitTSS makes to be no-op for all supported platforms (Windows and pthreads)
2. likewise PyThread_tss_delete_value just does to empty the storage (i.e. "PyThread_tss_delete_value(key)" makes to be equal to "PyThread_tss_set(key, NULL)").
We (or at least I) won't get back to the own implementation, therefore, I suggest to omit these functions for new TSS API.
See proposed updates https://github.com/ma8ma/cpython/pull/1 
History
Date User Action Args
2017年07月14日 08:34:03masamotosetrecipients: + masamoto, ncoghlan, vstinner, r.david.murray, erik.bray, EdSchouten
2017年07月14日 08:34:03masamotosetmessageid: <1500021243.48.0.132736268663.issue25658@psf.upfronthosting.co.za>
2017年07月14日 08:34:03masamotolinkissue25658 messages
2017年07月14日 08:34:02masamotocreate

AltStyle によって変換されたページ (->オリジナル) /