Problems with Interprocess Communication

Q1. What are the problems with interprocess communication?

Ans. Very briefly, there are three issues here.

  1. The first was alluded to above: how one process can pass information to another.
  2. The second has to be with making sure two or more processes do not get in each other’s way.

For example:

Two processes in an airline reservation system each trying to grab the last seat on a plane for a different customer.

  1. The third concerns proper sequencing when dependencies are present.

For example:

If process A produces data and process B prints them, B has to wait until A has produced some data before starting to print.

Leave a Reply

Your email address will not be published. Required fields are marked *

4 Views
%d bloggers like this: