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. wait(mutex); ..... critical section ..... wait(mutex);
1.a deadlock will occur
2.processes will starve to enter critical section
3.several processes maybe executing in their critical section
4.All of the Mentioned
Posted Date:-2022-03-25 08:41:52