Let each process Pi, i = 1 to 7 executes the following code.

repeat

P(mutex);

CS

V(mutex);

forever

The process P8 executes the following code:

repeat

V(mutex);

CS

V(mutex);

forever

What is the maximum number of processes that can be present in the critical section at any point of time? Given that the initial value of binary semaphore variable “mutex” is 1.

1
1
2
8
3
10
4
7

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation