What is a semaphore?

Answer Posted / ragavendran

Semaphores are devices used to help with synchronization. If
multiple processes share a common resource, they need a way
to be able to use that resource without disrupting each
other. You want each process to be able to read from and
write to that resource uninterrupted.

A semaphore will either allow or disallow access to the
resource, depending on how it is set up. One example setup
would be a semaphore which allowed any number of processes
to read from the resource, but only one could ever be in the
process of writing to that resource at a time.

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How much ram do I need for streaming?

726


What is the latest version of google browser?

720


Why is my computer so slow?

720


What is startup repair on my computer?

728


What's the best operating system?

760


What do you know about the latest android version Lollipop?

711


describe the situation in which priority inversion can occur

1079


How many bytes we can send to apple push notification server in iOS operating system?

817


How do I compare plugins in notepad ++?

727


What should I consider when buying a laptop?

719


discuss the procedures to evaluate disk excess time

2316


How do I boot up my computer?

669


What is concurrency go?

756


Is chrome os better than windows 10?

693


what is ms configure?

1916