What is a binary semaphore? What is its use?

Answer Posted / usha

Binary semaphore has two values 0 and 1. It can be used for
guarding critical section and also for guarding single
resource. Semaphore value 1 indicates, resource is
available, 0 means it is not available.

Is This Answer Correct ?    24 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is 8gb ram good?

744


What grep means?

664


What is the limit of ram capacity in a 32bit os?

727


What are different types of interprocess communication methods?

765


Explain about compiler and the functions executed by them?

745






What is critical section problem?

770


Is atomic thread safe?

746


How do I enable plugins on firefox?

757


What happens if we don’t override a run method?

884


What is a phase change memory?

746


What are the states of a process?

794


Explain Advantages and Limitations of a command line interface?

801


What are 4 types of operating systems?

773


How to take backup using active directory recyclebin concept

2060


Explain migration process?

713