Skip to main content
This topic provides an example of how to create a task queue. Simply call XTaskQueueCreate, pass in the modes for each port, and then save the created handle.
If there isn’t an error with the return code, the task queue is now represented by the returned XTaskQueueHandle.

Reference API documentation

See also

XTaskQueue library overview Dispatch task queue (example) Clean up task queue (example) Designing the task queue XTaskQueue
Last modified on August 4, 2026