Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
Important
XBOX Docs are now on docs.xbox.com! This page is kept as an archive and is no longer being updated. Visit our documentation on docs.xbox.com for the latest information and updates.
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