-
CONFIG_MULTITHREADING
¶
Multi-threading
Type: bool
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; use only when you REALLY know what you are doing.
Defaults¶
- “y”
Kconfig definition¶
At kernel/Kconfig:12
Included via Kconfig:10
→ Kconfig.zephyr:25
Menu path: (top menu) → General Kernel Options
config MULTITHREADING
bool
prompt "Multi-threading"
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; use only
when you REALLY know what you are doing.
(Definitions include propagated dependencies, including from if’s and menus.)