Unix Systems Programming: Communication, Concurrency and Threads, 2/e (Hardcover)

Kay A. Robbins, Steve Robbins

買這商品的人也買了...

商品描述

The Second Edition of a UNIX programming classic that shows how to design complex software to get the best from the UNIX operating system! Unix Systems Programming: Communication, Concurrency and Threads, 2/e, by Kay Robbins and Steve Robbins!

  • Learn UNIX essentials with a concentration on communication, concurrency, and multithreading techniques!
  • Full of ideas on how to design and implement good software along with unique projects throughout!
  • Excellent companion to Stevens' Advanced UNIX System Programming!
In a nutshell, 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. 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.

Steven Robbins and Kay Robbins are both professors at the University of Texas at San Antonio, and both Steve and Kay have PhDs in Computer Science from MIT.

Table of Contents

 

I. FUNDAMENTALS.

1. Technology s Impact on Programs.
2. Programs, Processes and Threads.
3. Processes in UNIX.
4. UNIX I/O.
5. Files and Directories.
6. UNIX Special Files.
7. Project: The Token Ring.
8. Signals.

II. ASYNCHRONOUS EVENTS.

9. Times and Timers.
10. Project: Virtual Timers.
11. Project: Cracking Shells.

III. CONCURRENCY.

12. POSIX Threads.
13. Thread Synchronization.
14. Critical Sections and Semaphores.
15. POSIX IPC.
16. Project: Producer Consumer Synchronization.
17. Project: The Not Too Parallel Virtual Machine.

IV. COMMUNICATION.

18. Connection-Oriented Communication.
19. Project: WWWRedirection.
20. Connectionless Communication and Multicast.
21. Project: Internet Radio.
22. Project: Server Performance.

APPENDICES.

Appendix A. UNIX Fundamentals.
Appendix B. Restart Library.
Appendix C. UICI Implementation.
Appendix D. Logging Functions.
Appendix E. POSIX Extensions.
Bibliography.
Program Index.
Index.

商品描述(中文翻譯)

《Unix系统编程:通信、并发和线程,第二版》是一本UNIX编程经典著作,展示了如何设计复杂软件以充分发挥UNIX操作系统的优势!本书由Kay Robbins和Steve Robbins合著。

以下是本书的主要特点:
- 以通信、并发和多线程技术为重点,学习UNIX的基本知识。
- 提供了设计和实现优秀软件的思路,并贯穿全书的独特项目。
- 是Stevens的《高级UNIX系统编程》的绝佳伴侣。

总而言之,这本更新的UNIX经典涵盖了线程、TCP/IP和RPC编程所需的一切,通过可重用的代码示例解释语法。Robbins和Robbins解释了UNIX编程的基本要素,集中讨论了通信、并发和多线程技术的使用时机、方式以及原因。他们还展示了如何设计复杂软件以充分发挥UNIX操作系统的优势。书中使用简短的代码片段来说明如何使用系统调用,并包含许多实践性的“项目”,帮助读者快速提升技能水平。本书还包括文件、信号、信号量、POSIX线程、客户端-服务器通信和远程过程调用等章节。全书还提供了短小的示例、可工作的代码和简化的库,可用于网络通信应用。更新的第二版新增了关于Web和多播的全新章节,并对RPC章节进行了全面修订和更新。

Steven Robbins和Kay Robbins都是得克萨斯大学圣安东尼奥分校的教授,两人都拥有麻省理工学院的计算机科学博士学位。

《目录》:
I. 基础知识
1. 技术对程序的影响
2. 程序、进程和线程
3. UNIX中的进程
4. UNIX I/O
5. 文件和目录
6. UNIX特殊文件
7. 项目:令牌环
8. 信号

II. 异步事件
9. 时间和定时器
10. 项目:虚拟定时器
11. 项目:破解Shell

III. 并发
12. POSIX线程
13. 线程同步
14. 临界区和信号量
15. POSIX IPC
16. 项目:生产者消费者同步
17. 项目:不太并行的虚拟机

IV. 通信
18. 面向连接的通信