bpo-25658: Implement PEP 539 for Thread Specific Storage (TSS) API (GH-1362)

See PEP 539 for details.

Highlights of changes:

- Add Thread Specific Storage (TSS) API
- Document the Thread Local Storage (TLS) API as deprecated
- Update code that used TLS API to use TSS API
This commit is contained in:
Masayuki Yamamoto 2017-10-06 19:41:34 +09:00 committed by Nick Coghlan
parent b8ab9d3fc8
commit 731e189014
18 changed files with 651 additions and 108 deletions

View file

@ -570,6 +570,13 @@ EXPORTS
PyThreadState_New=python37.PyThreadState_New
PyThreadState_SetAsyncExc=python37.PyThreadState_SetAsyncExc
PyThreadState_Swap=python37.PyThreadState_Swap
PyThread_tss_alloc=python37.PyThread_tss_alloc
PyThread_tss_create=python37.PyThread_tss_create
PyThread_tss_delete=python37.PyThread_tss_delete
PyThread_tss_free=python37.PyThread_tss_free
PyThread_tss_get=python37.PyThread_tss_get
PyThread_tss_is_created=python37.PyThread_tss_is_created
PyThread_tss_set=python37.PyThread_tss_set
PyTraceBack_Here=python37.PyTraceBack_Here
PyTraceBack_Print=python37.PyTraceBack_Print
PyTraceBack_Type=python37.PyTraceBack_Type DATA