CONFIG_THREAD_LOCAL_STORAGE
Thread Local Storage (TLS)
Type: bool
Help
This option enables thread local storage (TLS) support in kernel.
Direct dependencies
ARCH_HAS_THREAD_LOCAL_STORAGE && TOOLCHAIN_SUPPORTS_THREAD_LOCAL_STORAGE
(Includes any dependencies from ifs and menus.)
Defaults
No defaults. Implicitly defaults to n.
Symbols selected by this symbol
Kconfig definition
At <Kernel>/Kconfig:914
Included via Kconfig:8 → Kconfig.zephyr:40
Menu path: (Top) → General Kernel Options
config THREAD_LOCAL_STORAGE
bool "Thread Local Storage (TLS)"
select NEED_LIBC_MEM_PARTITION if CPU_CORTEX_M && USERSPACE
depends on ARCH_HAS_THREAD_LOCAL_STORAGE && TOOLCHAIN_SUPPORTS_THREAD_LOCAL_STORAGE
help
This option enables thread local storage (TLS) support in kernel.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)