PreviousNext

Attributes Objects

An attributes object is used to describe the behavior of threads, mutexes, and condition variables. This description consists of the individual attribute values that are used to create an attributes object. Whether an attribute is valid depends on whether it describes threads, mutexes, or condition variables.

When you create an object, you can accept the default attributes for that object, or you can specify an attributes object that contains individual attributes that you have set. For a thread, you can also change one or more attributes after thread execution starts; for example, calling the pthread_setprio( ) routine to change the priority that you specified with the pthread_attr_setprio( ) routine.

The following topics describe how to create and delete attributes objects and describe the individual attributes that you can specify for different objects.

More:

Creating an Attributes Object

Deleting an Attributes Object

Thread Attributes

Mutex Attributes

Condition Variable Attributes