Operating System Classic Sync Problems
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. advertisement signal(mutex); ..... critical section ..... wait(mutex); In this situation :
  • A A. A deadlock will occur
  • B B. Processes will starve to enter critical section
  • C C. Several processes maybe executing in their critical section
  • D D. All of the mentioned
Leave a Comment