文档介绍:SECOND EDITION
W. RICHARD STEVENS
munications I
Well-implemented munications (IPC) are key to the performance of
virtually every non-trivial UNIX program. In work Programming,
Udnme 2, Seeond Edition, legendary UNIX expert W. Richard Stevens presents
prehensive guide to every form of IPC. including message passing. synchronization.
you'll ever nee& shared- memory, and Remote Procedure Calls (RPG.
Stevens heglns with a basic: introduction to IPC and the problems it is intended to solve
Slep-by-step you'll learn how to maximize both System V IPC and the new Posix standards.
which offer dramatic improvements in convenience and performance. You'll find extensive
coverage of Pthreads. with many examples rrflecting multiple threads instead of multiple
b processes. Alongthe way. you'll master every current IPC technique and technology. including:
Pipes and FlFOs POSIXand System V Semaphores
Posix and System V Message Queues Poslx and System V Shared Me
t -C
Sbiaris Doors and Sun RPC
performance Measurements
of IPC Techn~ques
of work Programming, 1
of five! You won't just learn about IPC
"from the outside." You'll actually create implemkntatiom of Posix message queues.
read-write locks, and semaphores, gaining an in-******@h understanding of these
capabilities you simply can't get awwhere else.
The book contains extensive new source code--all caqfully optimized and available
on the Web. You'll even find plete guide to mesuring IPC performance
with message passing bandwidth and laterfcy progrMns, and thread and process
synchronization programs.
The better you understand IPC. the better your UNIX software will run. This book
contains all you need to know. I
ABOUT THE AUTHOR
W. RlCHAR D STEVENS is author of work Programming. Firs
widely recognized as the classic text in working and
Programming, Wume 1. Second Edition. He is also author of Advanced
in the UNIX Environment and the TCP