MOS-Mod7-1 IPC
MOS-Mod7-1 IPC
MOS-Mod7-1 IPC
communication)
Inter-process Communication
• Processes within a system may be independent or cooperating
• Cooperating process can affect or be affected by other processes,
including sharing data
• Reasons for cooperating processes:
• Information sharing
• Computation speedup
• Modularity
• Convenience
• Two models of IPC (1) Shared memory (2) Message passing
Communications Model
• Message Passing • Shared Memory
IPC – MESSAGE PASSING
• Mechanism for processes to communicate and to synchronize their actions
• How many links can there be between every pair of communicating processes?
• Is the size of a message that the link can accommodate fixed or variable?
2. Bounded capacity – finite length of n messages Sender must wait if link full