:orphan: .. title:: THREAD_LOCAL_STORAGE .. option:: CONFIG_THREAD_LOCAL_STORAGE *Thread Local Storage (TLS)* Type: ``bool`` Help ==== This option enables thread local storage (TLS) support in kernel. Direct dependencies =================== \ :option:`ARCH_HAS_THREAD_LOCAL_STORAGE ` && \ :option:`TOOLCHAIN_SUPPORTS_THREAD_LOCAL_STORAGE ` *(Includes any dependencies from ifs and menus.)* Defaults ======== No defaults. Implicitly defaults to ``n``. Symbols selected by this symbol =============================== - \ :option:`NEED_LIBC_MEM_PARTITION ` if \ :option:`CPU_CORTEX_M ` && \ :option:`USERSPACE ` Kconfig definition ================== .. highlight:: kconfig At ``kernel/Kconfig:871`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:30`` Menu path: (Top) → General Kernel Options .. parsed-literal:: config THREAD_LOCAL_STORAGE bool "Thread Local Storage (TLS)" select \ :option:`NEED_LIBC_MEM_PARTITION ` if \ :option:`CPU_CORTEX_M ` && \ :option:`USERSPACE ` depends on \ :option:`ARCH_HAS_THREAD_LOCAL_STORAGE ` && \ :option:`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.)*