What are the cooperating processes and how they communicate? Explain by taking a suitable example
Answers
Answer:
Processes are cooperating if they can affect each other. The simplest example of how this can happen is where two processes are using the same file. One process may be writing to a file, while another process is reading from the file; so, what is being read may be affected by what is being written.
Explanation:
The cooperating processes are affected by the other processes. The mian purpose of using this process is to share data with each other in the organisation. The several types of cooperating process includes cooperation by sharing and cooperation by communication. The cooperation by sharing means when the data is exchanged with each other through files data and other. The cooperation by communication involves sharing information by message and other communication means.