Skip to main content

Example

The following example shows how to create a task queue that dispatches both work and completion callbacks on the system thread pool.

Sample output

See also

Designing the task queue
Last modified on October 20, 2026