Document Information
Preface
1. Covering Multithreading Basics
2. Basic Threads Programming
3. Thread Attributes
4. Programming with Synchronization Objects
5. Programming With the Solaris Software
6. Programming With Solaris Threads
7. Safe and Unsafe Interfaces
8. Compiling and Debugging
9. Programming Guidelines
A. Extended Example: A Thread Pool Implementation
What is a Thread Pool?
About the Thread Pool Example
Thread Pool Functions
thr_pool_create()
thr_pool_queue()
thr_pool_wait()
thr_pool_destroy()
Thread Pool Code Examples
thr_pool.h File
thr_pool.c File
What the Thread Pool Example Shows
Index
This appendix provides a sample implementation of a useful package of interfaces for multithreaded programming: a thread pool.