UNIX Network Programming, Vol.2 : Interprocess Communication, 2/e
暫譯: UNIX 網路程式設計,第2卷:進程間通信,第二版

W. Richard Stevens

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

相關主題

商品描述

Summary

8108A-2

Don't miss the rest of the series!

  • Vol. 1, Networking APIs: Sockets and XTI
  • Vol. 3, Applications (forthcoming)

The only guide to UNIX(r) interprocess communications you'll ever need!

Well-implemented interprocess communications (IPC) are key to the performance of virtually every non-trivial UNIX program. In UNIX Network Programming, Volume 2, Second Edition, legendary UNIX expert W. Richard Stevens presents a comprehensive guide to every form of IPC, including message passing, synchronization, shared memory, and Remote Procedure Calls (RPC).

Stevens begins with a basic introduction to IPC and the problems it is intended to solve. Step-by-step you'll learn how to maximize both System V IPC and the new Posix standards, which offer dramatic improvements in convenience and performance. You'll find extensive coverage of Pthreads, with many examples reflecting multiple threads instead of multiple processes. Along the way, you'll master every current IPC technique and technology, including:

  • Pipes and FIFOs.
  • Posix and System V Message Queues
  • Mutexes and Condition Variables
  • Read-Write Locks
  • Record Locking
  • Posix and System V Semaphores
  • Posix and System V Shared Memory
  • Solaris Doors and Sun RPC
  • Performance Measurements of IPC Techniques

If you've read Stevens' best-selling first edition of UNIX Network Programming, this book expands its IPC coverage by a factor of five! You won't just learn about IPC "from the outside." You'll actually create implementations of Posix message queues, read-write locks, and semaphores, gaining an in-depth understanding of these capabilities you simply can't get anywhere else.

The book contains extensive new source code-all carefully optimized and available on the Web. You'll even find a complete guide to measuring IPC performance with message passing bandwidth and latency programs, and thread and process synchronization programs.

The better you understand IPC, the better your UNIX software will run. One book contains all you need to know: UNIX Network Programming, Volume 2, Second Edition.

商品描述(中文翻譯)

摘要



8108A-2

不要錯過系列的其他書籍!


  • 第 1 卷,網路 API:套接字和 XTI

  • 第 3 卷,應用程式(即將出版)

您唯一需要的 UNIX(r) 進程間通信指南!

良好實現的進程間通信(IPC)對於幾乎每個非平凡的 UNIX 程式的性能至關重要。在 UNIX 網路程式設計,第 2 卷,第二版 中,傳奇的 UNIX 專家 W. Richard Stevens 提供了每種 IPC 形式的全面指南,包括訊息傳遞、同步、共享記憶體和遠端程序呼叫(RPC)。

Stevens 以 IPC 的基本介紹及其旨在解決的問題開始。逐步學習如何最大化 System V IPC 和新的 Posix 標準,這些標準在便利性和性能上提供了顯著的改進。您將發現對 Pthreads 的廣泛覆蓋,並有許多範例反映多線程而非多進程。在此過程中,您將掌握每種當前的 IPC 技術和技術,包括:


  • 管道和 FIFO。

  • Posix 和 System V 訊息佇列

  • 互斥鎖和條件變數

  • 讀寫鎖

  • 記錄鎖定

  • Posix 和 System V 信號量

  • Posix 和 System V 共享記憶體

  • Solaris Doors 和 Sun RPC

  • IPC 技術的性能測量

如果您已閱讀 Stevens 的暢銷版 UNIX 網路程式設計第一版,這本書將其 IPC 覆蓋範圍擴展了五倍!您不僅會從“外部”了解 IPC,您還將實際創建 Posix 訊息佇列、讀寫鎖和信號量的實現,深入理解這些能力,這是您在其他地方無法獲得的。

本書包含大量新的源代碼,所有代碼都經過精心優化並可在網路上獲得。您甚至會找到一個完整的指南,用於測量 IPC 性能,包括訊息傳遞帶寬和延遲程序,以及線程和進程同步程序。

您對 IPC 的理解越深,您的 UNIX 軟體運行得就越好。一本書包含您需要知道的一切:UNIX 網路程式設計,第 2 卷,第二版。