[Prev] [Contents] [Next]

Thread Management APIs

Thread management APIs allow a program manipulate threads. The APIs actually create, destroy and otherwise manage the active or ended threads within the application. The APIs allow the manipulation of some of the thread attributes of an active thread.

A program can also setup or change the characteristics of a thread attributes object. The thread attributes object is used at thread creation time. The new thread is created with the attributes that are specified in the attributes object. After the thread has been created, the attributes object is no longer required.
pthread_attr_destroy()--Destroy a Thread Attributes Object
pthread_attr_getdetachstate()--Get Thread Attributes Object Detachstate
pthread_attr_getinheritsched()--Get Thread Attribute Object Inherit Scheduling Attributes
pthread_attr_getschedparam()--Get Thread Attributes Object Scheduling Parameters
pthread_attr_init()--Initialize a Thread Attributes Object
pthread_attr_setdetachstate()--Set Thread Attributes Object Detachstate
pthread_attr_setinheritsched()--Set Thread Attribute Inherit Scheduling Attributes
pthread_attr_setschedparam()--Set Thread Attributes Object Scheduling Parameters.
pthread_clear_exit_np()--Clear the Exit Status of a Thread
pthread_create()--Create a Thread
pthread_delay_np()--Delay a Thread for the Requested Interval
pthread_detach()--Detach a Thread
pthread_equal()--Compare Two Threads
pthread_exit()--Terminate The Calling Thread
pthread_extendedjoin_np()--Wait for a Thread with Extended Options
pthread_getconcurrency()--Get the Process Concurrency Level
pthread_getpthreadoption_np()--Get Pthread Run-Time Option Data
pthread_getschedparam()--Get Thread Scheduling Parameters
pthread_getthreadid_np()--Retrieve a Unique Id for the Calling Thread
pthread_getunique_np()--Retrieve a Unique Id for the Target Thread
pthread_is_multithreaded_np()--Check the Current Number of Threads
pthread_join()--Wait for and Detach a Thread
pthread_join_np()--Wait for a Thread to End
pthread_once()--Perform One Time Initialization
pthread_self()--Get Pthread Handle
pthread_setconcurrency()--Set The Process Concurrency Level
pthread_setpthreadoption_np()--Set Pthread Run-Time Option Data
pthread_setschedparam()--Set Target Thread Scheduling Parameters
sched_yield()--Yield the Processor to Another Thread



[Prev] [Contents] [Next]
Copyright © 1998, IBM Corporation. All rights reserved.
Comments? Contact
rchthrds@us.ibm.com