MCQ
Q.
All processes share a semaphore variable mutex, initialized to 1. Each process must execute wait(mutex) before entering the critical section and signal(mutex) afterward.
Suppose a process executes in the following manner.
Suppose a process executes in the following manner.
signal(mutex);
.....
critical section
.....
wait(mutex);In this situation :
Correct Answer: C
None.