Each process $P_i$, where $i= 1$ to $9$ is coded as follows
repeat
P (mutex)
{critical section }
V (mutex)
forever
The code for $P_{10}$ is identical except that it uses $V$ (mutex) instead of $P$ (mutex) and vice-verse. What is the largest number of processes that can be inside the critical section at any moment if initial value of the semaphore is 1?
- 1
- 2
- 3
- none