0
2.0kviews
Inter-Process Communication (IPC).

Mumbai University > Computer Engineering > Sem 5 > Operating System

Marks: 10M

Years: May 2016

1 Answer
0
12views
  • There are applications that involve each executing multiple processes concurrently. Those processes work together to perform application-specific tasks. They cooper-ate among themselves to accomplish the tasks. They are referred to as cooperating processes, and they exchange information among themselves.

  • Cooperating processes are "loosely" connected in the sense that they have independent private address spaces and they run at different speeds. The relative speeds of the processes are not normally known.

  • From time to time, they interact among themselves by exchanging information. An exchange of information among processes is called an inter-process communication.

  • Cooperating processes need assistance from the operating system to set up communication facilities (or channels) among themselves.

  • Most operating systems implement a few different communication schemes to facilitate inter-process communications. For each scheme, they support a few communication primitives (interface operations).

  • Processes execute those primitives to exchange information among themselves.

  • There are two broad schemes for doing inter-process communications. In one scheme, information exchange takes place via the common kernel space. In the other scheme, information exchange is done by mapping parts of process private address spaces into a common physical space (main memory).

Please log in to add an answer.