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 lib c/cpp: Move .ctor .init_array handling from C++ to kernel 2024-06-25 19:14:37 -04:00
crc style: lib: crc: comply with MISRA C:2012 Rule 15.6 2024-08-20 10:33:51 +02:00
hash
heap lib: added blanks between operators 2024-06-13 20:28:23 -04:00
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 driver: ram_console: leave one byte from the defined buffer size 2024-06-12 17:09:24 -05:00
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 lib: smf: use `while (true)` in `get_child_of` for better clarity 2024-07-01 16:08:05 -04:00
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