:orphan: .. title:: SYSTEM_WORKQUEUE_PRIORITY .. option:: CONFIG_SYSTEM_WORKQUEUE_PRIORITY *System workqueue priority* Type: ``int`` Help ==== By default, system work queue priority is the lowest cooperative priority. This means that any work handler, once started, won't be preempted by any other thread until finished. Defaults ======== - -2 if \ :option:`COOP_ENABLED ` && !\ :option:`PREEMPT_ENABLED ` - 0 if !\ :option:`COOP_ENABLED ` - -1 Kconfig definitions =================== .. highlight:: kconfig At ``kernel/Kconfig:389`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:30`` Menu path: (Top) → General Kernel Options → Work Queue Options .. parsed-literal:: config SYSTEM_WORKQUEUE_PRIORITY int "System workqueue priority" default -2 if \ :option:`COOP_ENABLED ` && !\ :option:`PREEMPT_ENABLED ` default 0 if !\ :option:`COOP_ENABLED ` default -1 help By default, system work queue priority is the lowest cooperative priority. This means that any work handler, once started, won't be preempted by any other thread until finished. ---- At ``subsys/bluetooth/Kconfig:43`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:34`` → ``subsys/Kconfig:9`` Menu path: (Top) → Sub Systems and OS Services → Bluetooth .. parsed-literal:: config SYSTEM_WORKQUEUE_PRIORITY int range -256 -1 depends on \ :option:`BT ` *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*