0
5.3kviews
Explain Distributed Approach for providing Mutual Exclusion.
1 Answer
written 8.4 years ago by |
Mutual Exclusion in Distributed System:
Mutual Exclusion ensures that no other process will use shared resources at same time.
Centralized Algorithm
Token Ring Algorithm.
One process is elected as coordinator.
Centralized Algorithm:
Advantages:
No Starvation.
Drawbacks:
Distributed Algorithm:
Kieart & Agarwala’s Algorithm:
Drawbacks:
RPCART & AGARWALA’S SOLUTION:
Other problems is bottleneck
Other problems
TOKEN RING ALGORITHM
Mutual Exclusion – Token Ring Algorithm
Working of Token Ring Algorithm :