Cooperative Process: Prepared & Presented By: Abdul Rehman & Muddassar Ali
Cooperative Process: Prepared & Presented By: Abdul Rehman & Muddassar Ali
Abdul Rehman
&
Muddassar Ali
Contents:
1. Definition
2. Types
3. Reasons for Need of Cooperating Processes
4. Methods
5. Advantages
6. Disadvantages
Definition:
Sharing a job among two or more computers such as a
mainframe and a PC. It implies splitting the workload
for the most efficiency.
Types:
1. Independent Process
2. Cooperating Process
Independent Process:
A process is said to be independent when it cannot
affect or be affected by any other processes that are
running the system.
It is clear that any process which does not share any
data (temporary or persistent) with any another
process then the process is independent.
Cooperating Process:
A cooperating process is one which can affect or
affected by any another process that is running on the
computer.
The cooperating process is one which shares data with
another process.
Reasons for Need of Cooperating Processes:
1. Information sharing
2. Computation speedup
3. Modularity
4. Convenience
Information sharing:
1. Cooperation by Sharing
2. Cooperation by Communication
Cooperation by Sharing:
The cooperating processes can cooperate with each
other using shared data such as memory, variables,
files, databases etc. Critical section is used to provide
data integrity and writing is mutually exclusive to
prevent inconsistent data.