Question: Q6.Ten processes share a critical section implemented by using a counting semaphore named x. Nine of these processes use the code wait(x); {critical section) signal(x).
Q6.Ten processes share a critical section implemented by using a counting semaphore named x. Nine of these processes use the code wait(x); {critical section) signal(x). However, one process erroneously uses the code signal(x), {critical section) signal(x). What is the maximum number of processes that can be in the critical section at the same time?[3M]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
