Allow specific TLS attributes for GC_thread_key
authorIvan Maidanski <ivmai@mail.ru>
Tue, 17 Nov 2015 08:39:29 +0000 (11:39 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 17 Nov 2015 21:46:07 +0000 (00:46 +0300)
commit02528757f439dfc5750e28fb3e5794303ccd21f9
tree565c2ef0a89a0f4bde59b3e65ce92e35e97026e0
parent30702c2aa0f57ad3cf89226c8fece53bed3de30f
Allow specific TLS attributes for GC_thread_key

* doc/README.macros (GC_ATTR_TLS_FAST): Document.
* include/private/thread_local_alloc.h (GC_ATTR_TLS_FAST): New macro
(empty by default).
* include/private/thread_local_alloc.h (GC_thread_key): Use
GC_ATTR_TLS_FAST.
* thread_local_alloc.c (GC_thread_key): Likewise.
doc/README.macros
include/private/thread_local_alloc.h
thread_local_alloc.c