Unix Systems Programming: Communication, Concurrency and Threads, 2/e (Hardcover)
暫譯: Unix 系統程式設計:通訊、併發與執行緒,第 2 版 (精裝本)

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 執行緒、客戶端-伺服器通訊和遠端程序呼叫的章節。全書中還有短小的範例、可運行的程式碼和簡化的函式庫,供網路通訊應用使用。更新的第二版包含全新的網路和多播章節,以及完全修訂和更新的 RPC 章節。

**Steven Robbins** 和 **Kay Robbins** 皆為德克薩斯大學聖安東尼奧分校的教授,Steve 和 Kay 均持有麻省理工學院的計算機科學博士學位。

**目錄**

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. 連接導向通訊。
19. 專案:WWW 重新導向。
20. 無連接通訊和多播。
21. 專案:網路廣播。
22. 專案:伺服器效能。

附錄。
附錄 A. UNIX 基礎。
附錄 B. 重新啟動函式庫。
附錄 C. UICI 實作。
附錄 D. 紀錄函式。
附錄 E. POSIX 擴展。
參考文獻。
程式索引。
索引。