www.sun.com
docs.sun.com
|
Multithreaded Programming Guide
Copyright
Preface
1. Covering Multithreading Basics
2. Basic Threads Programming
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
Rethinking Global Variables
Providing for Static Local Variables
Synchronizing Threads
Single-Threaded Strategy
Reentrance
Avoiding Deadlock
Deadlocks Related to Scheduling
Locking Guidelines
Following Some Basic Guidelines
Creating and Using Threads
Lightweight Processes
Unbound Threads
Bound Threads
Thread Creation Guidelines
Working With Multiprocessors
The Underlying Architecture
Summary
Further Reading
A. Sample Application--Multithreaded
grep
B. Solaris Threads Example:
barrier.c
Index