:orphan: .. title:: CONFIG_THREAD_LOCAL_STORAGE .. kconfig:: CONFIG_THREAD_LOCAL_STORAGE CONFIG_THREAD_LOCAL_STORAGE ########################### *Thread Local Storage (TLS)* Type: ``bool`` Help ==== .. code-block:: none This option enables thread local storage (TLS) support in kernel. Direct dependencies =================== \ :kconfig:`ARCH_HAS_THREAD_LOCAL_STORAGE ` && \ :kconfig:`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:`NEED_LIBC_MEM_PARTITION ` if \ :kconfig:`CPU_CORTEX_M ` && \ :kconfig:`USERSPACE ` Kconfig definition ================== At ``/Kconfig:872`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:40`` Menu path: (Top) → General Kernel Options .. code-block:: kconfig 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.)*