Problems with Interprocess Communication
Q1. What are the problems with interprocess communication?
Ans. Very briefly, there are three issues here.
- The first was alluded to above: how one process can pass information to another.
- 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.
- 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.