本書是一部UNIX網(wǎng)絡編程的經(jīng)典之作。進程間通信(IPC)幾乎是所有Unix程序性能的關鍵,理解IPC也是理解如何開發(fā)不同主機間網(wǎng)絡應用程序的必要條件。本書從對Posix IPC和System V IPC的內(nèi)部結構開始討論,全面深入地介紹了4種IPC形式:消息傳遞(管道、FIFO、消息隊列)、同步(互斥鎖、條件變量、讀寫鎖、文件與記錄鎖、信號量)、共享內(nèi)存(匿名共享內(nèi)存、具名共享內(nèi)存)及遠程過程調(diào)用(Solaris門、Sun RPC)。附錄中給出了測量各種IPC形式性能的方法。本書內(nèi)容詳盡且具權威性,幾乎每章都提供精選的習題,并提供了部分習題的答案,是網(wǎng)絡研究和開發(fā)人員理想的參考書。
Part Ⅰ Introduction Chapter 1 Introduction 1.1 Introduction 1.2 Processes, Threads, and the Sharing of Information 1.3 Persistence of IPC Objects 1.4 Name Spaces 1.5 Effect of fork, exec, and exit on IPC Objects 1.6 Error Handling: Wrapper Functions 1.7 Unix Standards 1.8 Road Map to IPC Examples in the Text 1.9 Summary Chapter 2 Posix IPC 2.1 Introduction 2.2 IPC Names 2.3 Creating and Opening IPC Channels 2.4 IPC Permissions 2.5 Summary Chapter 3 System V IPC 3.1 Introduction 3.2 key_t Keys and ft:ok Function 3.3 ipc_perm Structure 3.4 Creating and Opening IPC Channels 3.5 IPC Permissions 3.6 Identifier Reuse 3.7 ipcs and ~porto Programs 3.8 Kernel Limits 3.9 Summary Part 2 Message Passing Part 3 Synchronization Part 2 Shared Memory Part 2 Remote Procedure Calls Epilogue Appendix A Appendix B Appendix C Bibliography Index