Specifies the mutex type attribute that is used when a mutex is created.
pthread_mutexattr_setkind_np(
attr,
kind );
Argument Data Type Access
attr opaque pthread_ read
mutexattr_t
kind integer read
int pthread_mutexattr_setkind_np ( pthread_mutexattr_t *attr, int kind);
Return Error Description0 Successful completion. -1 [EINVAL] The value specified by attr or kind is invalid. -1 [ESRCH] The value specified by attr does not refer to an existing mutex attributes object.