Social Sciences, asked by aayza9036, 1 year ago

What is the importance of interprocess communication when processes are executing concurrently in the operating system?

Answers

Answered by abhilash671584
1
Interprocess communication comes in handy when multiple process try to access a shared resource. A resource can be anything on a machine. It can be memory, a peripheral device etc.

When multiple processes are executing concurrently, they need an awareness so as to complete their task by using a common / shared resource.

Example : There is a camera on your smart phone. This camera cannot be accessed / used by two different apps (or processes)  simultaneously. So there should be an awareness mechanism between the apps which tells them when a resource will be free. This is provided by the interprocess communication.
Similar questions