Slide 25 of 42
Notes:
Pipes - unidirectional communication from sender to receiver
- can only be used between related processes
FIFOs - also called named pipes
- unrelated processes can exchange data
Message queues - linked list of messages, identified by a message queue identifier
Semaphones - a counter used to provide access to a shared data object for multiple processes
Shared memory - memory region shared by multiple processes
- fastest form of IPC since data is not copied
>>> these 3 function groups found in library /lib/libsvipc.a
InterProcess Communication (IPC)
- Pipes
- - pipe(fd[2])
- FIFOs
- - mkfifo(pathname)
- Message queues
- Semaphores
- Shared memory
Top
Programming Posix
Hosted by 3kRanger.com
email 3kRanger
Updated