Skip to main content

XTaskQueueDispatchMode

Describes how task queue callbacks are processed.

Syntax

Constants

Remarks

This enumeration is used by XTaskQueueCreate to specify the dispatch modes for the work and completion ports of a task queue. The work port and completion port can use different dispatch modes. For example, you can use the thread pool dispatch mode for the work port to automatically queue & execute callbacks in parallel on the system thread queue, and use the manual dispatch mode for the completion port to manually queue & execute callbacks on the Windows message loop thread. For more information, see Using a task queue with a Windows message loop.

Requirements

Header: XTaskQueue.h Supported platforms: Windows, XBOX One family consoles and XBOX Series consoles

See also

XTaskQueue members
Asynchronous Programming Model
Async Task Queue Design
Last modified on August 20, 2026