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