dax_queue_create - create a command queue
cc [ flag... ] file... -ldax [ library...] #include <dax.h> dax_status_t dax_queue_create(dax_context_t *ctx, int qlen, dax_queue_t **queue);
This function creates a queue for use with the dax_xxxx_post() functions. Up to qlen requests can be posted to the queue without error and without calling the dax_poll() function. There is no explicit limit on qlen, other than the available memory. It returns the queue in the queue argument.
Operation completed successfully
Memory resources are unavailable
qlen is 0 or negative
The calling thread did not create ctx
See attributes(5) for descriptions of the following attributes:
|