XTaskQueuePort

Declares which port of a task queue to dispatch or submit callbacks to.

Syntax

enum class XTaskQueuePort  : uint32_t  
{  
    Work,  
    Completion  
}  

Constants

Constant Description
Work The work port for the task queue.
Completion The completion port for the task queue.

Remarks

This enumeration identifies the port of a task queue on which to perform an action, such as submitting a callback or getting a port handle. The work port and completion port of a task queue can have independent dispatch modes, and tasks can be submitted to either port. For an example, see Submitting callbacks.

Requirements

Header: XTaskQueue.h

Supported platforms: Windows, Xbox One family consoles and Xbox Series consoles

See also

XTaskQueueDispatch
XTaskQueueGetPort
XTaskQueueMonitorCallback
XTaskQueueRegisterWaiter
XTaskQueueSubmitCallback
XTaskQueueSubmitDelayedCallback
XTaskQueue members
Asynchronous Programming Model
Async Task Queue Design