external_zblue/tests/kernel/threads/tls
Daniel Flodin 8541a818c0 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>
2026-04-20 17:44:50 +08:00
..
boards samples: tests: bluetooth: Add support for frdm_rw612 2026-04-20 17:23:48 +08:00
src arch: kernel: lib: toolchain: Standardize TLS keyword 2026-04-20 17:44:50 +08:00
CMakeLists.txt
prj.conf tests: remove CONFIG_ZTEST_NEW_API in all tests 2026-04-20 16:44:15 +08:00
testcase.yaml tests: userspace: exclude ucans32k1sic due to lack of MPU regions 2026-04-20 16:52:39 +08:00