Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
What are the advantages of semaphores?
Home
Operating System
What are the advantages of semaphores?
0
votes
asked
Sep 12, 2023
in
Operating System
by
Robindeniel
What are the advantages of semaphores?
semaphores-advantages
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Sep 12, 2023
by
Robindeniel
They are machine-independent.
Easy to implement.
Correctness is easy to determine.
Can have many different critical sections with different semaphores.
Semaphores acquire many resources simultaneously.
No waste of resources due to busy waiting.
...