[Return to Bookshelf] [Contents] [Previous Section] [Next Section] [Index] [Help]


2.2.4.1 Mutex Type Attribute

The mutex type attribute specifies whether a mutex is normal, recursive, or errorcheck. (See Section 2.3.1 for more information.) You can set the mutex type attribute by calling the pthread_mutexattr_ settype_np routine. If you do not use a mutex attributes object to select a mutex type, calling the pthread_mutex_init routine initializes a normal mutex by default.