www.sun.com
docs.sun.com
|
Multithreaded Programming Guide
Copyright
Preface
1. Covering Multithreading Basics
2. Basic Threads Programming
The Threads Library
Create a Default Thread
Wait for Thread Termination
A Simple Threads Example
Detaching a Thread
Create a Key for Thread-Specific Data
Delete the Thread-Specific Data Key
Set Thread-Specific Data
Get Thread-Specific Data
Get the Thread Identifier
Compare Thread IDs
Initializing Threads
Yield Thread Execution
Set the Thread Priority
Get the Thread Priority
Send a Signal to a Thread
Access the Signal Mask of the Calling Thread
Forking Safely
Terminate a Thread
Finishing Up
Cancellation
Cancel a Thread
Enable or Disable Cancellation
Set Cancellation Type
Create a Cancellation Point
Push a Handler Onto the Stack
Pull a Handler Off the Stack
3. Thread Create Attributes
4. Programming with Synchronization Objects
5. Programming With the Operating Environment
6. Safe and Unsafe Interfaces
7. Compiling and Debugging
8. Programming With Solaris Threads
9. Programming Guidelines
A. Sample Application--Multithreaded
grep
B. Solaris Threads Example:
barrier.c
Index