Go to main content

man pages section 3: DAX Library Functions

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

dax_cancel_all (3DAX)

Name

dax_cancel_all - cancel all the commands in a queue

Synopsis

cc [ flag... ] file... -ldax [ library...]

#include <dax.h>

dax_status_t dax_cancel_all(dax_queue_t *queue);

Description

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.

Return Values

Returns one of the following values:

DAX_SUCCESS

All the commands were either cancelled or completed

DAX_EQEMPTY

queue has no commands

DAX_ETHREAD

The calling thread did not create the queue

DAX_EINTERNAL

Unknown internal error. Caller must stop using ctx.

Attributes

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
system/library
Interface Stability
Committed

See Also

dax_cancel(3DAX)