zephyr/lib/os
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
..
zvfs Revert "net: sockets: move poll implementation to zvfs" 2024-07-03 15:03:05 -04:00
CMakeLists.txt Revert "net: sockets: move poll implementation to zvfs" 2024-07-03 15:03:05 -04:00
Kconfig lib: os: spsc_pbuf: Clarify using cache management in the module 2024-07-01 16:07:30 -04:00
Kconfig.cbprintf
assert.c
cbprintf.c
cbprintf_complete.c ARCMWDT: Fix cbprintf issue with omitted function prototype 2024-06-28 07:21:11 -04:00
cbprintf_nano.c ARCMWDT: Fix cbprintf issue with omitted function prototype 2024-06-28 07:21:11 -04:00
cbprintf_packaged.c lib: avoided increments/decrements with side effects 2024-06-21 08:48:15 -04:00
fdtable.c Revert "fdtable: read, write, close: only execute methods if non-NULL" 2024-07-03 15:03:05 -04:00
mpsc_pbuf.c logging: fix log buffer pending while it is definitely full 2024-08-23 08:04:18 -04:00
mutex.c coding guidelines: comply with MISRA Rule 12.1. 2024-06-13 20:28:23 -04:00
p4wq.c style: lib: comply with MISRA C:2012 Rule 15.6 2024-09-11 07:40:35 -04:00
poweroff.c
printk.c lib: os: change __printk_get_hook return type to printk_hook_fn_t 2024-07-27 10:41:01 +03:00
reboot.c lib: os: reboot: dump coverage info on `sys_reboot` 2024-06-15 04:39:53 -04:00
sem.c coding guidelines: comply with MISRA Rule 12.1. 2024-06-13 20:28:23 -04:00
spsc_pbuf.c
thread_entry.c arch: kernel: lib: toolchain: Standardize TLS keyword 2024-09-23 10:01:48 +02:00
user_work.c