:orphan: .. title:: CONFIG_USB_WORKQUEUE_PRIORITY .. kconfig:: CONFIG_USB_WORKQUEUE_PRIORITY CONFIG_USB_WORKQUEUE_PRIORITY ############################# *USB workqueue priority* Type: ``int`` Help ==== .. code-block:: none 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 =================== \ :kconfig:`USB_WORKQUEUE ` && \ :kconfig:`USB_DEVICE_STACK ` *(Includes any dependencies from ifs and menus.)* Defaults ======== - -2 if \ :kconfig:`COOP_ENABLED ` && !\ :kconfig:`PREEMPT_ENABLED ` - 0 if !\ :kconfig:`COOP_ENABLED ` - -1 Kconfig definition ================== At ``/usb/Kconfig:149`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:44`` → ``/Kconfig:49`` Menu path: (Top) → Sub Systems and OS Services → USB Device Support → Use a dedicate work queue in the USB subsystem .. code-block:: kconfig config USB_WORKQUEUE_PRIORITY int "USB workqueue priority" default -2 if COOP_ENABLED && !PREEMPT_ENABLED default 0 if !COOP_ENABLED default -1 depends on USB_WORKQUEUE && 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.)*