0 votes
in Operating System by
What are the advantages of semaphores?

1 Answer

0 votes
by
  1. They are machine-independent.
  2. Easy to implement.
  3. Correctness is easy to determine.
  4. Can have many different critical sections with different semaphores.
  5. Semaphores acquire many resources simultaneously.
  6. No waste of resources due to busy waiting.
...