Go to main content

man pages section 3: DAX Library Functions

Exit Print View

Updated: Friday, August 13, 2021
 
 

dax_queue_destroy (3DAX)

Name

dax_queue_destroy - destroy a command queue

Synopsis

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

#include <dax.h>

dax_status_t dax_queue_destroy(dax_queue_t *queue);

Description

This function destroys the DAX queue. It terminates any requests that are in progress posted to the queue.

If the function returns an error, the queue is not destroyed.

Return Values

DAX_SUCCESS

Operation completed successfully

DAX_ETHREAD

The calling thread did not create the queue

Attributes

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

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
system/library
Interface Stability
Committed

See Also

dax_queue_create(3DAX)