Semaphores are used to solve the problem of ______.
2017
Semaphores are used to solve the problem of ______.
- A.
mutual exclusion
- B.
race condition
- C.
process synchronization
- 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.