Unix Systems Programming: Communication, Concurrency and Threads

Unix Systems Programming: Communication, Concurrency and Threads


Yazar Kay Robbins Steve Robbins
Yayınevi Pearson Education
ISBN 9780130424112
Baskı yılı 2003
Sayfa sayısı 912
Ağırlık 1.70 kg
Edisyon 2
Stok durumu Tükendi   

In a nutshell, this updated UNIX classic covers everything youll 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. They also show 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.
I Fundamentals 1
1 Technologys Impact on Programs 3
2 Programs, Processes and Threads 21
3 Processes in UNIX 59
4 Unix I/O 91
5 Files and Directories 145
6 UNIX Special Files 183
7 Project: The Token Ring 225
II Asynchronous Events 253
8 Signals 255
9 Times and Timers 301
10 Project: Virtual Timers 341
11 Project: Cracking Shells 369
III Concurrency 407
12 POSIX Threads 409
13 Thread Synchronization 447
14 Critical Sections and Semaphores 487
15 POSIX IPC 511
16 Project: Producer Consumer Synchronization 549
17 Project: The Not Too Parallel Virtual Machine 581
IV Communication 607
18 Connection-Oriented Communication 609
19 Project: WWW Redirection 657
20 Connectionless Communication and Multicast 691
21 Project: Internet Radio 733
22 Project: Server Performance 761
Appendices 795
App. A UNIX Fundamentals 797
More...