This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

CONFIG_BT_MAYFLY_YIELD_AFTER_CALL

Yield from mayfly thread after first call

Type: bool

Help

Only process one mayfly callback per invocation (legacy behavior).
If set to 'n', all pending mayflies for callee are executed before
yielding

Direct dependencies

BT_LL_SW_SPLIT && BT_CTLR && BT_HCI && BT

(Includes any dependencies from ifs and menus.)

Default

  • y

Kconfig definition

At subsys/bluetooth/controller/Kconfig.ll_sw_split:558

Included via Kconfig:8Kconfig.zephyr:42subsys/Kconfig:9subsys/bluetooth/Kconfig:324subsys/bluetooth/controller/Kconfig:644

Menu path: (Top) → Sub Systems and OS Services → Bluetooth → Bluetooth Controller → Advanced features

config BT_MAYFLY_YIELD_AFTER_CALL
    bool "Yield from mayfly thread after first call" if BT_CTLR_ADVANCED_FEATURES
    default y
    depends on BT_LL_SW_SPLIT && BT_CTLR && BT_HCI && BT
    help
      Only process one mayfly callback per invocation (legacy behavior).
      If set to 'n', all pending mayflies for callee are executed before
      yielding

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