Multithreaded Programming Guide

How This Guide Is Organized

Chapter 1, Covering Multithreading Basics gives a structural overview of threads implementation in this release.

Chapter 2, Basic Threads Programming discusses the general POSIX threads routines, emphasizing creating a thread with default attributes.

Chapter 3, Thread Attributes covers creating a thread with nondefault attributes.

Chapter 4, Programming with Synchronization Objects covers the threads synchronization routines.

Chapter 5, Programming With the Solaris Software discusses changes to the operating environment to support multithreading.

Chapter 6, Programming With Solaris Threads covers the Solaris threads (as opposed to POSIX threads) interfaces.

Chapter 7, Safe and Unsafe Interfaces covers multithreading safety issues.

Chapter 8, Compiling and Debugging covers the basics of compiling and debugging multithreaded applications.

Chapter 9, Programming Guidelines discusses issues that affect programmers writing multithreaded applications.

Appendix A, Extended Example: A Thread Pool Implementation shows how to implement a pool of worker threads.