📢 Too many exams? Don’t know which one suits you best? Book Your Free Expert 👉 call Now!

  • google app store apple app store
  • ✖

      Question

      A semaphore is initialized to 1. If two processes P1 and

      P2 both try to execute a `wait()` (P) operation on this semaphore, what is the maximum number of processes that can successfully proceed past the `wait()` operation immediately?
      B 1 Correct Answer Incorrect Answer
      C 2 Correct Answer Incorrect Answer
      D Depends on scheduling Correct Answer Incorrect Answer
      E None of the above Correct Answer Incorrect Answer

      Solution

      1

      Practice Next
      ask-question