This completely revised and updated edition presents a comprehensive treatment of every form of interprocess communication (IPC), including message passing, synchronization, shared memory, and Remote Procedure Calls (RPCs). Well-implemented IPCs are the key to the performance of virtually every nontrivial UNIX program.
The book begins with a basic introduction to IPC and the problems it is expected to solve. Along the way, the reader is introduced to every current IPC technique and technology, including:
- Pipes and FIFOs
- Posix and System V Message Queues
- Mutexes and Condition Variables
- Read-Write Locks
- Record Locking
- Posix and System V Semaphores
- Posix and System V Shared Memory
- Solaris Doors and Sun RPC
- Performance Measurements of IPC Techniques
Besides gaining an indepth understanding of these topics, the readers will develop capabilities to create implementations of Posix message queues, read-write locks, and semaphores.
It is an ideal text for computer science students for courses in network programming as well as a useful reference for experienced programmers.