attr Mutex attributes object whose mutex type attribute is obtained. type Receives the value of the mutex type attribute. The type argument specifies the type of mutex that can be created. Valid values are: PTHREAD_MUTEX_NORMAL PTHREAD_MUTEX_DEFAULT (default) PTHREAD_MUTEX_RECURSIVE PTHREAD_MUTEX_ERRORCHECK