Creates a mutex.
cma_mutex_create( new_mutex, attr);
Argument Data Type Accessnew_mutex opaque cma_t_mutex write attr opaque cma_t_attr read
#includevoid cma_mutex_create ( cma_t_mutex *new_mutex, cma_t_attr *attr);
The mutex is created and initialized to the unlocked state.
If the thread that called this routine terminates, the created mutex is not automatically deallocated because it is considered to be shared among multiple threads.
cma_e_existence cma_e_use_error