Next:
6.4.1 Fundamental Concepts
Up:
6 Linux Interprocess Communications
Previous:
6.3.5 The Infamous SIGPIPE
6.4 System V IPC
6.4.1 Fundamental Concepts
IPC Identifiers
IPC Keys
The
ipcs
Command
The
ipcrm
Command
6.4.2 Message Queues
Basic Concepts
Internal and User Data Structures
Message buffer
Kernel
msg
structure
Kernel
msqid_ds
structure
Kernel
ipc_perm
structure
SYSTEM CALL: msgget()
SYSTEM CALL: msgsnd()
SYSTEM CALL: msgctl()
msgtool: An interactive message queue manipulator
Background
Command Line Syntax
Sending Messages
Retrieving Messages
Changing the Permissions (mode)
Deleting a Queue
Examples
The Source
6.4.3 Semaphores
Basic Concepts
Internal Data Structures
Kernel
semid_ds
structure
Kernel
sem
structure
SYSTEM CALL: semget()
SYSTEM CALL: semop()
SYSTEM CALL: semctl()
semtool: An interactive semaphore manipulator
Background
Command Line Syntax
Creating a Semaphore Set
Locking a Semaphore
Unlocking a Semaphore
Changing the Permissions (mode)
Deleting a Semaphore Set
Examples
The Source
semstat: A semtool companion program
6.4.4 Shared Memory
Basic Concepts
Internal and User Data Structures
Kernel
shmid_ds
structure
SYSTEM CALL: shmget()
SYSTEM CALL: shmat()
SYSTEM CALL: shmctl()
SYSTEM CALL: shmdt()
shmtool: An interactive shared memory manipulator
Background
Command Line Syntax
Writing strings to the segment
Retrieving strings from the segment
Changing the Permissions (mode)
Deleting the segment
Examples
The Source
Converted on:
Fri Mar 29 14:43:04 EST 1996
Hosting by:
Hurra Communications Ltd.
Generated: 2007-01-26 17:57:43