:orphan: .. title:: CONFIG_MULTITHREADING .. kconfig:: CONFIG_MULTITHREADING CONFIG_MULTITHREADING ##################### *Multi-threading* Type: ``bool`` Help ==== .. code-block:: none If disabled, only the main thread is available, so a main() function must be provided. Interrupts are available. Kernel objects will most probably not behave as expected, especially with regards to pending, since the main thread cannot pend, it being the only thread in the system. Many drivers and subsystems will not work with this option set to 'n'; disable only when you REALLY know what you are doing. Default ======= - y Symbols that select this symbol =============================== - \ :kconfig:`KSCAN_XEC ` Kconfig definition ================== At ``/Kconfig:12`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:40`` Menu path: (Top) → General Kernel Options .. code-block:: kconfig config MULTITHREADING bool "Multi-threading" if ARCH_HAS_SINGLE_THREAD_SUPPORT default y help If disabled, only the main thread is available, so a main() function must be provided. Interrupts are available. Kernel objects will most probably not behave as expected, especially with regards to pending, since the main thread cannot pend, it being the only thread in the system. Many drivers and subsystems will not work with this option set to 'n'; disable only when you REALLY know what you are doing. *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*