Social Sciences, asked by sanjibgiri4245, 1 year ago

Explain the problem of mutual exclusion in distributed system

Answers

Answered by Stark5
0
Mutual exclusion is a property of concurrency control, which is instituted for the purpose of preventing race conditions; it is the requirement that one thread of execution never enter its critical section at the same time that another concurrent thread of execution enters its own critical section.
The problem which mutual exclusion addresses is a problem of resource sharing: how can a software system control multiple processes' access to a shared resource, when each process needs exclusive control of that resource while doing its work? The mutual-exclusion solution to this problem makes the shared resource available only while the process is in a specific code segment called the critical section. It controls access to the shared resource by controlling each process' execution of that part of its program where the resource would be used.
Similar questions