To create an attributes object, use one of the following routines, depending on the type of object to which the attributes apply:
· The pthread_attr_create( ) routine for thread attributes objects
· The pthread_condattr_create( ) routine for condition variable attributes objects
· The pthread_mutexattr_create( ) routine for mutex attributes objects
These routines create an attributes object containing default values for the individual attributes. To modify any attribute values in an attributes object, use one of the set routines described in the following topics.
Creating an attributes object or changing the values in an attributes object does not affect the attributes of objects previously created.