:orphan: .. title:: USB_WORKQUEUE_PRIORITY .. option:: CONFIG_USB_WORKQUEUE_PRIORITY *USB workqueue priority* Type: ``int`` Help ==== By default, USB 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. Direct dependencies =================== \ :option:`USB_WORKQUEUE ` && \ :option:`USB_DEVICE_STACK ` *(Includes any dependencies from ifs and menus.)* Defaults ======== - -2 if \ :option:`COOP_ENABLED ` && !\ :option:`PREEMPT_ENABLED ` - 0 if !\ :option:`COOP_ENABLED ` - -1 Kconfig definition ================== .. highlight:: kconfig At ``subsys/usb/Kconfig:133`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:34`` → ``subsys/Kconfig:45`` Menu path: (Top) → Sub Systems and OS Services → USB Device Support → Use a dedicate work queue in the USB subsystem .. parsed-literal:: config USB_WORKQUEUE_PRIORITY int "USB workqueue priority" default -2 if \ :option:`COOP_ENABLED ` && !\ :option:`PREEMPT_ENABLED ` default 0 if !\ :option:`COOP_ENABLED ` default -1 depends on \ :option:`USB_WORKQUEUE ` && \ :option:`USB_DEVICE_STACK ` help By default, USB 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. *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*