Each Process Pᵢ, i = 1......9 is coded as follows repeat P(mutex) {Critical…
1997
Each Process Pᵢ, i = 1......9 is coded as follows
repeat
P(mutex)
{Critical section}
V(mutex)
foreverThe code for P₁₀ is identical except it uses V(mutex) in place of P(mutex). What is the largest number of processes that can be inside the critical section at any moment?
- A.
1
- B.
2
- C.
3
- D.
None of above
Attempted by 31 students.
A video solution is available for this question — log in and enroll to watch it.