Example
The default process task queue uses the thread pool for both work and completion dispatching. Microsoft Game Development Kit (GDK) APIs that take task queue parameters all accept nullptr and substitute the process task queue. It can be replaced. The process task queue can also be set to nullptr. In this case, Microsoft Game Development Kit (GDK) APIs that require a task queue parameter will error with E_NO_TASK_QUEUE. This allows the Microsoft Game Development Kit (GDK) APIs to function with defaults while still allowing tight control over task queue handles, if needed.
The following example shows how to use the process task queue.
See also
Designing the task queueLast modified on August 4, 2026