Browse DevX
Sign up for e-mail newsletters from DevX


Book Excerpt: UNIX Systems Programming: Communication, Concurrency and Threads, 2nd Edition

This updated UNIX classic covers everything you'll ever need for threads, TCP/IP, and RPC programming—with reusable code examples that explain syntax along the way. Robbins and Robbins explain the essentials of UNIX programming, concentrating on communication, concurrency, and multithreading techniques and why, when, and how to use them.




Building the Right Environment to Support AI, Machine Learning and Deep Learning

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.

Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date