Question: All processes share a semaphore variable mutex, which is initialized to 1. Each process must execute wait(mutex) before entering the critical section and signal(mutex) afterward. Suppose that a process replaces signal(mutex) with wait(mutex). That is, it executes wait(mutex);...critical section...wait(mutex); In this Case
Answer:
MCQ: All processes share a semaphore variable mutex, which is initialized to 1. Each process must execute wait(mutex) before entering the critical section and signal(mutex) afterward. Suppose that a process replaces signal(mutex) with wait(mutex). That is, it executes wait(mutex);...critical section...wait(mutex); In this Case