Question: Answer Q explain? Highlighted below ; Answer should not exceed three lines each process So , such communication mechanisms that we will talk
Answer Q explain? Highlighted below ; Answer should not exceed three lines
each process
So such communication mechanisms that we will talk about somehow have to be built around those protection "mechanisms"
These kinds of mechanisms are called interprocess communication mechanisms, or we refer to them as IPC
IPC
The IPC mechanisms help transfer data and information from one address space to another, continuing to maintain the protection and isolation that operating systems are trying to enforce
Also, different types of interactions between processes may exhibit different properties
Because of all these differences, IPC mechanisms need to provide flexibility as well as performance
Message Passing IPC
Message passing IPC:
OS Provides communication channel, eg shared buffer
Processes
WritesendReadRecv message tofrom channel
Pros and Cons
The benefits of this approach is that it's really the operating system who will manage this channel
It's the operating system that provides the exact same APIs, the exact same system calls for writing or sending data, and the reading or receiving data from this communication channel
The downside is the overhead Explain? relate to user kernel context switch
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
