Each Process Pi, i= 1.......9 is coded as follows repeat P(mutex) {Critical…

PYQ GATE 1997

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?

  1. A.

    1

  2. B.

    2

  3. C.

    3

  4. D.

    None of above

Attempted by 597 students.

Sign up free to check your answer

Sign up free

Explore the full course: Operating System

Loading lesson…