XAsyncRunto start a custom, simple
asynchronous task. The async block contains the task queue to use and
the completion callback.
XAsyncRun requires a work callback, and
it has a return value. It’s returned from a call to
XAsyncGetStatus afterward. Internally, XAsyncRun
has a simple async provider setup to handle the enqueuing of the
specified work callback, the enqueuing of the completion callback in the
async block, and other state changes for the process. This means that no
further code is needed for running simple async tasks - just set up the
async block and call XAsyncRun.
Reference API documentation
- XAsync (API contents)
- Functions
