Anonymous user menu

Gate1997_6.8

Each process Pi,i=1……9 is coded as follows

repeat
P(mutex)
{critical section}
v(mutex)
forever

The code for 10 P is identical except that 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 the above

Answer

Discuss

0Comment