Unix IPC
Unix has three major IPC constructs to facilitate
interaction between processes:
Message Queues (this PowerPoint document)
permit exchange of data between processes
Semaphores
can be used to implement critical-section
problems; allocation of resources
Shared Memory
an area of memory accessible by multiple
processes.
, IPC System Calls
Functionality Message Semaphore Shared
Queue
Allocate IPC msgget semget shmget
Access IPC msgsnd semop shmat
msgrcv shmdt
IPC Control msgctl semctl shmctl
Unix has three major IPC constructs to facilitate
interaction between processes:
Message Queues (this PowerPoint document)
permit exchange of data between processes
Semaphores
can be used to implement critical-section
problems; allocation of resources
Shared Memory
an area of memory accessible by multiple
processes.
, IPC System Calls
Functionality Message Semaphore Shared
Queue
Allocate IPC msgget semget shmget
Access IPC msgsnd semop shmat
msgrcv shmdt
IPC Control msgctl semctl shmctl