dax_cancel_all - cancel all the commands in a queue
cc [ flag... ] file... -ldax [ library...] #include <dax.h> dax_status_t dax_cancel_all(dax_queue_t *queue);
This function cancels all the commands in queue that have not completed. For more information on the semantics of cancel, see the dax_cancel(3DAX) man page.
Returns one of the following values:
All the commands were either cancelled or completed
queue has no commands
The calling thread did not create the queue
Unknown internal error. Caller must stop using ctx.
See attributes(5) for descriptions of the following attributes:
|