Interprocess Communications in UNIX - John Shapley Gray

Interprocess Communications in UNIX

The Nooks and Crannies
Buch | Softcover
480 Seiten
1998 | 2nd edition
Prentice Hall (Verlag)
978-0-13-899592-8 (ISBN)
59,80 inkl. MwSt
zur Neuauflage
  • Titel erscheint in neuer Auflage
  • Artikel merken
Zu diesem Artikel existiert eine Nachauflage
This revised second edition takes developers through the nooks and crannies of UNIX interprocess communications, tackling the advanced topics and answering the thorny questions while introducing new concepts, such as multithreaded programming.

(NOTE: Each chapter beings with an Introduction and concludes with a Summary.)

1. Programs and Processes.


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.



2. Processing Environment.


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.



3. Using Processes.


The fork System Call Revisited. exec's Minions. Execlp. Execvp. Using fork and exec Together. Ending a Process. Waiting on Processes.



4. Primitive Communications.


Lock Files. Locking Files. Signals—Continued. Signal and Signal Management Calls.



5. Pipes.


Unnamed Pipes. Named Pipes.



6. Message Queues.


IPC System Calls—A Synopsis. Creating a Message Queue. Message Queue Control. Message Queue Operations. A Client-Server Message Queue Example.



7. Semaphores.


Creating and Accessing Semaphore Sets. Semaphore Control. Semaphore Control Details. Semaphore Operations. Semaphore Operation Details.



8. Shared Memory.


Creating a Shared Memory Segment. Shared Memory Control. Shared Memory Operations. Using a File as Shared Memory.



9. Remote Procedure Calls.


Executing Remote Commands at a System Level. Executing Remote Commands in a C 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.



10. Sockets.


Communication Basics. Network Addresses. Domains—Network and Communication. Protocol Families. Socket Types. IPC Using socketpair. Sockets—The Connection-Oriented Paradigm. A UNIX Domain Stream Socket Example. An Internet Domain Stream Socket Example. Sockets—The Connectionless Paradigm. A UNIX Domain Datagram Socket Example. An Internet Domain Datagram Socket Example. Multiplexing I/O with select. Peeking at Data. Out of Band Messages.



11. Threads.


Creating a Thread. Exiting a Thread. Basic Thread Management. Thread Attributes. Scheduling Threads. Using Signals in Threads. Thread Synchronization. Mutex Variables. Condition Variables. Read/Write Locks. Multithread Semaphores. Thread-Specific Data. Debugging Multithreaded Programs. Dbx. lock_lint Utility.



A. Using UNIX Manual Pages.


Manual Page Sections. Manual Page Format. Standard C Library System Calls/Library Functions.



B. UNIX Error Messages.


C. RPC Syntax Diagrams.


Introduction. RPC Definitions. Program-definition. Const-definition. Enum-definition. Typedef-definition. Structure-definition. Union-definition. RPC Keywords. Some RPC Examples.



D. Bibliography.


Index.

Erscheint lt. Verlag 21.1.1998
Verlagsort Upper Saddle River
Sprache englisch
Maße 180 x 235 mm
Gewicht 908 g
Themenwelt Informatik Betriebssysteme / Server Unix / Linux
Mathematik / Informatik Informatik Software Entwicklung
ISBN-10 0-13-899592-3 / 0138995923
ISBN-13 978-0-13-899592-8 / 9780138995928
Zustand Neuware
Haben Sie eine Frage zum Produkt?
Mehr entdecken
aus dem Bereich
Die wichtigen Befehle

von Daniel J. Barrett

Buch | Softcover (2024)
O'Reilly (Verlag)
16,90
das umfassende Handbuch

von Dirk Deimeke; Daniel van Soest; Stefan Kania

Buch | Hardcover (2023)
Rheinwerk (Verlag)
69,90
das umfassende Handbuch

von Michael Kofler

Buch | Hardcover (2023)
Rheinwerk (Verlag)
49,90