Interprocess Communication Flashcards
What is Inter-process Communication
This refers to a mechanism where the operating system allows various processes to communicate with each other.
Approaches for ICP
Pipes
Message queues
FIFO
Shared Memory
Message Parsing
Direct Communication
Approaches for ICP
Pipes
Message queues
FIFO
Shared Memory
Message Parsing
Direct Communication
Approaches for ICP
Pipes:
Message queues
FIFO
Shared Memory
Message Parsing
Direct Communication
What is pipes used mainly for
Pipes is widely used for communication between two related processes.
What is message parsing
It is a mechanism for a process to communicate and synchronize
What is message queues
This is a linked list of message stored within the kernel.
What is direct communication
A link is established between one pair of communicating processes and between each pair, only one link exists.
What is indirect communication
Establishes only when processes share a common mailbox, each pair of processes sharing several communication links which may be bi-directional or unidirectional
What is shared memory
This is a memory shared between two or more processes that are established using shared memory between all the processes.
What is FIFO?
Communication between two unrelated processes.
Why IPC
It helps modularity
Computational speedup
Privilege seperation.
Helps operating system to communicate with each other and synchronize their actions.