zephyr/doc/kernel
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
..
data_structures
drivers
iterable_sections
memory_management kernel: mmu: install demand mappings for the on-demand linker sections 2024-09-10 17:17:30 -04:00
object_cores doc: sphinx-lint: fix bad usage of "default role" 2024-09-13 11:42:51 -05:00
services arch: kernel: lib: toolchain: Standardize TLS keyword 2024-09-23 10:01:48 +02:00
timing_functions
usermode doc: sphinx-lint: fix dangling-hyphen 2024-09-11 07:39:30 -04:00
util
code-relocation.rst samples: application_development: use zephyr:code-sample directive 2024-08-27 15:13:43 -04:00
index.rst
timeutil.rst