This group contains the implementation to support thread-local storage (TLS).
More...
This group contains the implementation to support thread-local storage (TLS).
Variants I and II are according to Ulrich Drepper, "ELF Handling For
Thread-Local Storage".
◆ _TLS_Get_allocation_size()
uintptr_t _TLS_Get_allocation_size |
( |
void |
| ) |
|
Gets the allocation size of the thread-local storage area in bytes.
- Returns
- Returns the allocation size of the thread-local storage area in bytes.
◆ _TLS_Configuration
Provides the TLS configuration.
Directly using symbols with an arbitrary absolute address such as _TLS_Alignment may not work with all code models (for example the AArch64 tiny and small code models). Store the addresses in a read-only object. Using the volatile qualifier ensures that the compiler actually loads the address from the object.