CONFIG_SHELL_GETOPT
Enable threadsafe getopt support in shell
Type: bool
Help
This config creates a separate getopt_state for the shell instance.
It ensures that using getopt with shell is thread safe.
When more threads are using getopt please call getopt_state_get to
get getopt state of the shell thread.
Direct dependencies
(Includes any dependencies from ifs and menus.)
Defaults
No defaults. Implicitly defaults to n
.
Symbols selected by this symbol
Kconfig definition
At <Subsystem>/shell/Kconfig:140
Included via Kconfig:8
→ Kconfig.zephyr:44
→ <Subsystem>/Kconfig:45
Menu path: (Top) → Sub Systems and OS Services → Shell
config SHELL_GETOPT
bool "Enable threadsafe getopt support in shell"
select GETOPT
depends on SHELL
help
This config creates a separate getopt_state for the shell instance.
It ensures that using getopt with shell is thread safe.
When more threads are using getopt please call getopt_state_get to
get getopt state of the shell thread.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)