Reprint Courtesy of International Business Machines Corporation, © International Business Machines Corporation
About Program Execution Control-Thread, Processes, and Sessions
Threads
Processes
Creating Processes
Process Termination
Process Exit Lists
Multitasking with Threads and Multitasking with Processes
Sessions
Creating Sessions
Child Session Control
Child Session Termination
About CPU Scheduling
Priority Classes
Priority Levels
Priority Guidelines
Dynamic Priority Alteration
Altering the Size of the Time Slice
Using Processes
Starting a Child Process
Starting an Asynchronous Child Process
Starting a Background Process
Setting the Command Line and Environment for a Child Process
Changing the Priority of a Process
Obtaining Information about Child Processes
Waiting for a Child Process to End
Ending the Current Process
Terminating a Process
Creating an Exit Lis
Using Threads
Creating a Thread
Obtaining Information about a Thread
Changing the Priority of a Thread
Suspending the Current Thread
Suspending and Resuming Execution of a Thread
Entering Critical Sections
Waiting for a Thread to End
Ending the Current Thread
Ending a Thread
Using Sessions
Starting a Session
Controlling the Execution of Child Sessions
Setting User Selectability of a Child Session
Binding Child Sessions to Parent Sessions
Switching a Session to the Foreground
Terminating a Session