Sun Microsystems Logo
Products and Services
 
Support and Training
 
 

Multithreaded Programming Guide
Copyright
Expand TOC  Preface
Expand TOC  1.  Covering Multithreading Basics
Expand TOC  2.  Basic Threads Programming
Expand TOC  3.  Thread Create Attributes
Expand TOC  4.  Programming with Synchronization Objects
Collapse TOC  5.   Programming With the Operating Environment
Process Creation--Forking Issues
The Fork-One Model
The Fork-All Model
Choosing the Right Fork
Process Creation--exec(2) and exit(2) Issues
Timers, Alarms, and Profiling
Per-LWP POSIX Timers
Per-Thread Alarms
Profiling
Nonlocal Goto--setjmp(3C) and longjmp(3C)
Resource Limits
LWPs and Scheduling Classes
Timeshare Scheduling
Realtime Scheduling
Fair Share Scheduling
Fixed Priority Scheduling
Extending Traditional Signals
Synchronous Signals
Asynchronous Signals
Continuation Semantics
Operations on Signals
Thread-Directed Signals
Completion Semantics
Signal Handlers and Async-Signal Safety
Interrupted Waits on Condition Variables
I/O Issues
I/O as a Remote Procedure Call
Tamed Asynchrony
Asynchronous I/O
Shared I/O and New I/O System Calls
Alternatives to getc(3C) and putc(3C)
Expand TOC  6.  Safe and Unsafe Interfaces
Expand TOC  7.  Compiling and Debugging
Expand TOC  8.  Programming With Solaris Threads
Expand TOC  9.  Programming Guidelines
Expand TOC  A.   Sample Application--Multithreaded grep
Expand TOC  B.   Solaris Threads Example: barrier.c
Expand TOC  Index