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

  • google app store apple app store
  • ✖

      Question

      What is the purpose of a semaphore in synchronization?

      A To provide mutual exclusion Correct Answer Incorrect Answer
      B To allow multiple threads to access a resource simultaneously Correct Answer Incorrect Answer
      C To signal when a process is finished Correct Answer Incorrect Answer
      D To prevent deadlocks Correct Answer Incorrect Answer

      Solution

      To provide mutual exclusion

      Practice Next

      Relevant for Exams:

      ask-question