Go to main content

man pages section 3: DAX Library Functions

Exit Print View

Updated: July 2017
 
 

dax_thread_fini (3DAX)

Name

dax_thread_fini - destroy a command context

Synopsis

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

#include <dax.h>

dax_status_t dax_thread_fini(dax_context_t *ctx); 

Description

This function destroys a ctx created by the dax_thread_init() function. It terminates requests that are in progress in any queue created for ctx.

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

Return Values

DAX_SUCCESS

Operation completed successfully

DAX_ETHREAD

The calling thread did not create ctx

Attributes

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

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
system/library
Interface Stability
Committed

See Also

dax_thread_init(3DAX)