What is a binary semaphore? What is its use?

Answer Posted / v.vijayakumar

A binary semaphore is one, which takes only 0 and 1 as
values. They are used to implement mutual exclusion and
synchronize concurrent processes

Is This Answer Correct ?    74 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the code of mobile?

522


What are the advantages of multiprocessor system?

571


Give the disadvantages of Havander's Strategies.

2123


Which os is best for coding?

527


Under what circumstances do page faults occur? Describe the actions taken by the operating system when a page fault occurs?

577






How much ram do I need for 2019 gaming?

489


Does chkdsk work for ssd?

627


Why is 64 bit called x86?

524


Why is 32 bit referred to as x86?

505


What does af_inet stand for?

671


How does a memory leak work?

529


Do I need 32gb of ram?

543


How do I find my hidden files?

553


How do you start a startup?

520


How long should a chkdsk r take?

528