int ABT_bool
Boolean type.
#define ABTI_CHECK_ERROR(abt_errno)
#define ABTI_MUTEX_ATTR_RECURSIVE
static ABT_mutex_attr ABTI_mutex_attr_get_handle(ABTI_mutex_attr *p_attr)
static ABTI_mutex_attr * ABTI_mutex_attr_get_ptr(ABT_mutex_attr attr)
struct ABT_mutex_attr_opaque * ABT_mutex_attr
Mutex attribute handle type.
static ABTU_ret_err int ABTU_malloc(size_t size, void **p_ptr)
#define ABTI_CHECK_NULL_MUTEX_ATTR_PTR(p)
int ABT_mutex_attr_free(ABT_mutex_attr *attr)
Free a mutex attribute.
int ABT_mutex_attr_set_recursive(ABT_mutex_attr attr, ABT_bool recursive)
Set a recursive property in a mutex attribute.
#define ABT_SUCCESS
Error code: the routine returns successfully.
int ABT_mutex_attr_get_recursive(ABT_mutex_attr attr, ABT_bool *recursive)
Get a recursive property in a mutex attribute.
#define ABT_TRUE
True constant for ABT_bool.
#define ABT_FALSE
False constant for ABT_bool.
#define ABTI_MUTEX_ATTR_NONE
static void ABTU_free(void *ptr)
#define ABT_MUTEX_ATTR_NULL
int ABT_mutex_attr_create(ABT_mutex_attr *newattr)
Create a new mutex attribute.