Sun Microsystems, Inc.
spacerspacer
spacer www.sun.com docs.sun.com |
spacer
black dot
 
 
   
 

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
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)
  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