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 does operating system kernel work?

811


Which are the necessary conditions to achieve a deadlock?

794


Can ram cause blue screen?

750


What is option in grep?

787


Which is first operating system?

731


What is GUI?

835


Why paging is used in os?

782


What is a 64 bit application?

763


What is a sector?

790


What are the different replacement policies ?

893


How much does a pc cost?

777


What is system bus? Explain a few related terms.

850


What is run level 1?

793


Tell something about deadlock and how can we prevent dead lock?

847


What is sin_addr?

745