zephyr/lib
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
..
acpi
cpp
crc style: lib: crc: comply with MISRA C:2012 Rule 15.6 2024-08-20 10:33:51 +02:00
hash
heap
libc libc/picolibc: Don't replace picolibc time _r functions 2024-09-16 20:17:35 +02:00
mem_blocks
net_buf lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
open-amp
os arch: kernel: lib: toolchain: Standardize TLS keyword 2024-09-23 10:01:48 +02:00
posix posix: sysconf.c uses POSIX values 2024-09-16 20:17:35 +02:00
runtime
smf
utils sys: timeutil: expose and use macro for base year 2024-08-29 11:38:28 +02:00
CMakeLists.txt lib: net_buf: move the network buffer implementation to lib 2024-09-07 11:19:05 -05:00
Kconfig lib: net_buf: move the network buffer implementation to lib 2024-09-07 11:19:05 -05:00