-
CONFIG_MULTITHREADING
¶
Multi-threading (DEPRECATED)
Type: bool
Help¶
Disabling this option is DEPRECATED.
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
Kconfig definition¶
At <Zephyr>/kernel/Kconfig:12
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:30
Menu path: (Top) → General Kernel Options
config MULTITHREADING
bool "Multi-threading (DEPRECATED)"
default y
help
Disabling this option is DEPRECATED.
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.)