:orphan: .. title:: CONFIG_THREAD_ANALYZER_RUN_UNLOCKED .. kconfig:: CONFIG_THREAD_ANALYZER_RUN_UNLOCKED CONFIG_THREAD_ANALYZER_RUN_UNLOCKED ################################### *Run analysis with interrupts unlocked* Type: ``bool`` Help ==== .. code-block:: none The thread analysis takes quite a long time. Every thread it finds is analyzed word by word to find any that does not match the magic number. Normally while thread are analyzed the k_thread_foreach function is used. While this is a safe run from the thread list perspective it may lock the interrupts for a long time - long enough to disconnect when Bluetooth communication is used. Setting this flag will force thread analyzer to use the k_thread_foreach_unlocked function. This will allow the interrupts to be processed while the thread is analyzed. For the limitation of such configuration see the k_thread_foreach documentation. Direct dependencies =================== \ :kconfig:`THREAD_ANALYZER ` *(Includes any dependencies from ifs and menus.)* Default ======= - y Kconfig definition ================== At ``/debug/Kconfig:42`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:44`` → ``/Kconfig:17`` Menu path: (Top) → Sub Systems and OS Services → System Monitoring Options → Enable Thread analyzer .. code-block:: kconfig config THREAD_ANALYZER_RUN_UNLOCKED bool "Run analysis with interrupts unlocked" default y depends on THREAD_ANALYZER help The thread analysis takes quite a long time. Every thread it finds is analyzed word by word to find any that does not match the magic number. Normally while thread are analyzed the k_thread_foreach function is used. While this is a safe run from the thread list perspective it may lock the interrupts for a long time - long enough to disconnect when Bluetooth communication is used. Setting this flag will force thread analyzer to use the k_thread_foreach_unlocked function. This will allow the interrupts to be processed while the thread is analyzed. For the limitation of such configuration see the k_thread_foreach documentation. *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*