2. Introduction to Cooperating
System
– Cooperating Processes are within a system may be independent or cooperating.
– Independent system can affect or be affected by the execution of another process in a system.
– Cooperating process can affect or be affected by other processes, including sharing data.
– A cooperating process share data with other processes and systems.
– Reasons for cooperating processes:
– Information sharing
– Computation speed-up
– Modularity
– Convenience
3. Introduction to Cooperating System
– Information Sharing:
– Process cooperation is necessary because many users may need to access the same information such as shared
file etc.
– It provide environment for information sharing.
– Modularity:
– Process cooperation is very important if the system is to be constructed in modular style.
– A modular system just divide the functions into separate processes.
– Computation speed up:
– When one task is divided into sub parts to execute it faster.
– All divided subtasks can be executed concurrently to speed up the computation.
– So in this case cooperation is done where they divide the task into sub parts and then execute it.
– Convenience:
– Process cooperation provides convenience if single user is working on multiple tasks at the same time.
– Conflicts are avoided if the user is using the same data in multiple tasks.
4. Problems of Cooperative system
– Possible to have deadlock
– Each process waiting for a message from the other process.
– Also the deadlock occurs when one program is in process form and the other is also doing the same process at once.
– Possible to have starvation
– Two processes sending a message to each other while another process waits for a message.
– Possible to Damage the Data
– Cooperative system may Damage the data which is occurred due to Modularity.
– Information sharing
– In cooperative system Information is shared without the user well.
– It may also share the personal data or sensitive information of the user which the user does not want to share with other.
5. Problems of Cooperative system
– Data may be Hacked
– Some office data E.g Banks etc information of a clients can be hack through cooperative system in which all the
information should be showed to other system.
– Also money transfer from one account to other account can be done.