he authors show you how to design complex software to get the best from the UNIX operating system. Using short code snippets to illustrate how to use system calls, they also include a number of hands-on “projects” that very quickly help readers expand their skill levels. The book includes chapters on files, signals, semaphores, POSIX threads, client-server communication, and remote procedure calls. There are also short examples, working code, and simplified libraries for use in network communication applications featured throughout the book. The updated Second Edition includes all-new chapters on the Web and multicast and a completely revised and updated RPC chapter.
Download the PDF of Chapter 9: “Times and Timers” and Chapter 10: “Project: Virtual Timers”
Reproduced from UNIX Systems Programming: Communication, Concurrency and Threads, 2nd Edition by permission of Prentice Hall PTR. ISBN 0130424110, copyright 2003. All rights reserved. This book will be available for purchase at Amazon.com and B&N.com.