Each Process Pi, i= 1.......9 is coded as follows repeat P(mutex) {Critical…
GATE · 1997 · CS · Question 6 subparts
Each Process Pi, i= 1.......9 is coded as follows
repeat
P(mutex)
{Critical section}
V(mutex)
forever
The code for P10 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 490 students.
Sign up free to check your answer
Sign up freeLoading lesson…