What is a binary semaphore? What is its use?

Answer Posted / pradeep_deepu

Another interpretation is semaphore means number of
resources available. Here , binary means two resources are
available.
It is used for synchronization by application of mutual
exclusion principle.(ex. Allowing only one resource to
access the contents)

Is This Answer Correct ?    21 Yes 30 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How are the wait/signal operations for monitor different from those for semaphores?

498


Do I need web plugins for vlc?

526


What is preemptive multitasking?

613


What is ecc in reference to ram?

538


How do I use i3?

584






What is a phase change memory?

574


Explain process.

578


Is x86 better than x64?

500


What are distributed systems?

579


What is the trtw/trwt timing?

651


What is turnaround time?

573


What is synchronous and asynchronous process?

538


What is the meaning of busy spin in multi-threading?

579


Explain what do you understand by registers, briefly explain the various types of registers.

517


Why is interrupt vector used in operating systems?

513