Interprocess Communications in Linux explains exactly how to use Linux processes and interprocess communications to build robust, high-performance systems. Coverage includes: named/unnamed pipes, message queues, semaphores, shared memory, RPC and the rpcgen compiler, sockets-based communication, the /proc file system, LinuxThreads POSIX support, multithreading, and much more. Includes detailed exercises, plus dozens of downloadable program examples compiled with GNU C/C++ 2.96 & 3.2 and tested with Red Hat Linux 7.3 & 8.0.
"synopsis" may belong to another edition of this title.
Raves for Gray's companion UNIX® volume!
"Concepts I only vaguely understood now make complete sense to me! The sample code and exercises are so good,they seem to clamp down on the concepts like a vise grip..."—S. Lee Henry, Johns HopkinsUniversity
The expert, example-rich guide to Linuxprocesses and IPC
Serious Linux software developers need a sophisticated understanding of processes, system level programming andinterprocess communication techniques. Now, John Shapley Gray, author of the widely praised Interprocess Communicationin UNIX, Second Edition, zeroes in on the core techniques Linux uses to manage processes and IPC. With exceptionalprecision and great clarity, Gray explains what processes are, how they're generated, how they access their environments,how they communicateóand how to use them to build robust, high-performance systems.
Gray presents dozens of standalone program examples; all compiled with the GNU C/C++ compiler 2.96 & 3.2, and fullytested on PC platforms running Red Hat Linux 7.3 & 8.0.
http://authors.phptr.com/gray/About the Author:
JOHN SHAPLEY GRAY is Professor of Computer Science and Chair of the Interactive Information Technology degree program at the University of Hartford, West Hartford, CT, and principal of Gray Software Development. Gray has been actively involved with UNIX and its derivatives for over 20 years; his course on UNIX internals has become legendary amongst students and developers throughout the greater Hartford area. He is author of the best-selling Interprocess Communications in UNIX, Second Edition, and co-author of C++ Programmer's Notebook.
"About this title" may belong to another edition of this title.
Book Description Prentice Hall, 2003. Paperback. Book Condition: Brand New. 1st edition. 624 pages. 9.50x7.00x1.25 inches. In Stock. Bookseller Inventory # zk0130460427
Book Description Prentice Hall, 2003. Paperback. Book Condition: New. 1. Bookseller Inventory # DADAX0130460427
Book Description Prentice Hall, 2003. Book Condition: New. Brand New, Unread Copy in Perfect Condition. A+ Customer Service! Summary: Introduction. Acknowledgments. 1. Programs and Processes.Introduction. Library Functions. System Calls. Linking Object Code. Managing Failures. Executable File Format. System Memory. Process Memory. The u Area. Process Memory Addresses. Creating a Process. Summary. Key Terms and Concepts.2. Processing Environment.Introduction. Process ID. Parent Process ID. Process Group ID. Permissions. Real and Effective User and Group Ids. File System Information. File Information. Process Resource Limits. Signaling Processes. Command-Line Values. Environment Variables. The/proc Filesystem. Summary. Key Terms and Concepts.3. Using Processes.Introduction. The fork System Call Revisited. exec's Minions. Using fork and exec Together. Ending a Process. Waiting on Processes. Summary. Key Terms and Concepts.4. Primitive Communications.Introduction. Lock Files. Locking Files. More About Signals. Signal and Signal Management Calls. Summary. Key Terms and Concepts.5. Pipes.Introduction. Unnamed Pipes. Named Pipes. Summary. Key Terms and Concepts.6. Message Queues.Introduction. IPC System Calls: A Synopsis. Creating a Message Queue. Message Queue Control. Message Queue Operations. A Client-Server Message Queue Example. Message Queue Class. Summary. Key Terms and Concepts.7. Semaphores.Introduction. Creating and Accessing Semaphore Sets. Semaphore Control. Semaphore Operations. Semaphore Class. Summary. Key Terms and Concepts8. Shared Memory.Introduction. Creating a Shared Memory Segment. Shared Memory Control. Shared Memory Operations. Using a File as Shared Memory. Shared Memory Class. Summary. Key Terms and Concepts.9. Remote Procedure Calls.Introduction. Executing Remote Commands at a System Level. Executing Remote Commands in a Program. Transforming a Local Function Call into a Remote Procedure. Debugging RPC Applications. Using RPCGEN to Generate Templates and a MAKEFILE. Encoding and Decoding Arbitrary Data Types. Using Broadcasting to Search for an RPC Service. Summary. Key Terms and Concepts.10. Sockets.Introduction. Communication Basics. IPC Using Socketpair. Sockets: The Connection-Oriented Paradigm. Sockets: The Connectionless Paradigm. Multiplexing I/O with select. Peeking at Data. Out of Band Messages. Summary. Key Terms and Concepts.11. Threads.Introduction. Creating a Thread.Exiting a Thread. Basic Thread Management. Thread Attributes. Scheduling Threads. Using Signals in Threads. Thread Synchronization. Thread-Specific Data. Debugging Multithreaded Programs. Summary. Nomenclature and Key Concepts.Appendix A. Using Linux Manual Pages.Manual Page Sections. Manual Page Format. Standard Linux System Calls.Appendix B. UNIX Error Messages. Appendix C. RPC Syntax Diagrams.Introduction. RPC Definitions. RPC Keywords. Some RPC Examples.Appendix D. Profiling Programs.Introduction. Sample Program for Profiling. Generating Profile Data. Viewing and Interpreting Profile Data.Appendix E. Bibliography. Index. Bookseller Inventory # ABE_book_new_0130460427
Book Description Prentice Hall, 2003. Paperback. Book Condition: New. book. Bookseller Inventory # 0130460427
Book Description Prentice Hall. PAPERBACK. Book Condition: New. 0130460427 New Condition. Bookseller Inventory # NEW6.0043952
Book Description Prentice Hall, 2003. Paperback. Book Condition: New. Bookseller Inventory # P110130460427