![[Return to Bookshelf]](BOOKSHELF.GIF) 
![[Contents]](TOC.GIF) 
![[Previous Section]](PREV.GIF) 
![[Next Section]](NEXT.GIF) 
![[Index]](INDEX.GIF) 
![[Help]](HELP.GIF) 
A thread attributes object allows you to specify values
for thread attributes other than the defaults when you create a
thread with the pthread_create routine. To use a thread attributes
object, perform the following steps:
   - Create a thread attributes object by calling the pthread_
   attr_init routine.
   
- Call the routines discussed in the following sections to
   set the individual attributes of the thread attributes object.
   
- Create a new thread by calling the pthread_create routine
   and specifying the handle of the thread attributes object.
   
You have control over the following attributes of a new thread:
   - Scheduling inheritance
   
- Scheduling policy
   
- Scheduling parameters
   
- Stack size
   
- Stack guard size