zephyr/doc/kernel/services/other
Daniel Flodin 746c59c82a arch: kernel: lib: toolchain: Standardize TLS keyword
Up until now, the `__thread` keyword has been used for declaring
variables as Thread local storage. However, `__thread` is a GNU
specific keyword which thus limits compatibility with other
toolchains (for instance IAR).

This PR intoduces a new macro `Z_THREAD_LOCAL` which expands to the
corresponding C11, C23 or C++11 standard keyword based on the standard
that is specified during compilation, else it uses the old `__thread`
keyword.

Signed-off-by: Daniel Flodin <daniel.flodin@iar.com>
2024-09-23 10:01:48 +02:00
..
atomic.rst doc: Fix sentence 2024-01-08 14:06:40 -05:00
fatal.rst
float.rst
thread_local_storage.rst arch: kernel: lib: toolchain: Standardize TLS keyword 2024-09-23 10:01:48 +02:00
version.rst doc: Use basic ..doxygengroup syntax 2024-08-13 09:49:21 +01:00