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

Can I use x86 on 64bit?

539


How much ram can you put in a 64 bit system?

613


Explain segmentation with paging?

641


What is dining philosophers’ problem?

575


How do I remove a second operating system from my computer?

536






Explain High Severity and Low Priority with example?

590


What are the primary functions of VFS?

699


How much ram can a 64 bit system use?

527


Why is a single serial port managed with a single interrupt-driven i/o but a front-end processor is managed using a polling i/o, such as a terminal concentrator?

489


Explain briefly about assembler and its functioning?

560


Define Operating System Types.

599


Explain compaction.

589


What is Direct Access Method?

597


What are the advantages of multithreaded programming?

549


Explain turnaround time and response time?

585