describe the mechanism of inter process communication usung shared memoryy model and producer cosumer

describe the mechanism of inter process communication usung shared memoryy model and producer cosumer

 

Inter process communication (IPC) is a capability supported by operating system that allows one process to communicate with next process. The process can be running one the same computer or on different computers connected through network.

 IPC enables one application can control another application for serval applications to share same data without interfering with one another. IPC required multiprogramming systems but  is not supported by single processor  

 mechanism

inter-process communication is mechanism that is used to processes to exchange data and information data and information. Many process may be executing  at the same time of operating system.

shared memory model 

The shared memory model establishes a region of memory  that is shared by operating processes. The process exchange the information by reading and writing data to shared region. The model is faster than message passing model and provide maximum speed and convenience 

producer consumer :

producer process: it produce information that will consumed by consumer

consumer process: it consumes information produced by producer



Post a Comment

Previous Post Next Post