CONFIG_SYSTEM_WORKQUEUE_NO_YIELD

Select whether system work queue yields

Type: bool

Help

By default, the system work queue yields between each work item, to
prevent other threads from being starved.  Selecting this removes
this yield, which may be useful if the work queue thread is
cooperative and a sequence of work items is expected to complete
without yielding.

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At <Zephyr>/kernel/Kconfig:405

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:40

Menu path: (Top) → General Kernel Options → Work Queue Options

config SYSTEM_WORKQUEUE_NO_YIELD
    bool "Select whether system work queue yields"
    help
      By default, the system work queue yields between each work item, to
      prevent other threads from being starved.  Selecting this removes
      this yield, which may be useful if the work queue thread is
      cooperative and a sequence of work items is expected to complete
      without yielding.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)