diff options
author | Masayuki Yamamoto <ma3yuki.8mamo10@gmail.com> | 2017-07-03 11:34:38 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2017-07-03 11:34:38 (GMT) |
commit | aa0aa0492c5fffe750a26d2ab13737a1a6d7d63c (patch) | |
tree | 87bcaadbc9147425eb272fd42b1166ec6aa0ccbf /Misc | |
parent | 5e87592fd12e0b7c41edc11d4885ed7298d5063b (diff) | |
download | cpython-aa0aa0492c5fffe750a26d2ab13737a1a6d7d63c.zip cpython-aa0aa0492c5fffe750a26d2ab13737a1a6d7d63c.tar.gz cpython-aa0aa0492c5fffe750a26d2ab13737a1a6d7d63c.tar.bz2 |
bpo-30832: Remove own implementation for thread-local storage (#2537)
* bpo-30832: Remove own implementation for thread-local storage
CPython has provided the own implementation for thread-local storage
(TLS) on Python/thread.c, it's used in the case which a platform has
not supplied native TLS. However, currently all supported platforms
(NT and pthreads) have provided native TLS and defined the
Py_HAVE_NATIVE_TLS macro with unconditional in any case.
* bpo-30832: replace NT with Windows
* bpo-30832: change to directive chain
* bpo-30832: remove comemnt which making no sense
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/C API/2017-07-03-17-25-40.bpo-30832.PcTAEP.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/C API/2017-07-03-17-25-40.bpo-30832.PcTAEP.rst b/Misc/NEWS.d/next/C API/2017-07-03-17-25-40.bpo-30832.PcTAEP.rst new file mode 100644 index 0000000..1cdacf3 --- /dev/null +++ b/Misc/NEWS.d/next/C API/2017-07-03-17-25-40.bpo-30832.PcTAEP.rst @@ -0,0 +1,7 @@ +Remove own implementation for thread-local storage. + +CPython has provided the own implementation for thread-local storage (TLS) +on Python/thread.c, it's used in the case which a platform has not supplied +native TLS. However, currently all supported platforms (Windows and pthreads) +have provided native TLS and defined the Py_HAVE_NATIVE_TLS macro with +unconditional in any case. |