219k views
4 votes
Which conditions must be satisfied to solve a critical section problem?

(a) Bounded waiting, progress, and mutual exclusion
(b) Progress and mutual exclusion
(c) None of mentioned
(d) Bounded waiting

1 Answer

4 votes

Final answer:

The correct condition that must be satisfied to solve a critical section problem is progress and mutual exclusion. Correct option is b.

Step-by-step explanation:

The correct condition that must be satisfied to solve a critical section problem is (b) Progress and mutual exclusion.

Mutual exclusion ensures that only one process can access the critical section at a time, while progress guarantees that if no process is in the critical section, and one or more processes want to enter it, only those processes that are not executing in their remainder section can compete for entry to the critical section.

Bounded waiting is not a necessary condition to solve the critical section problem.

User Leo Romanovsky
by
7.8k points