Semaphores are used to solve the problem of ______.

2017

Semaphores are used to solve the problem of ______.

  1. A.

    mutual exclusion

  2. B.

    race condition

  3. C.

    process synchronization

  4. D.

    the belady problem

Attempted by 1001 students.

Show answer & explanation

Correct answer: C

Answer: Semaphores are used for process synchronization. Definition: A semaphore is a synchronization primitive that uses an integer counter to control access to shared resources and coordinate the order of execution between processes or threads.

Explore the full course: Up Lt Grade Assistant Teacher 2025