What is a semaphore?

Answer Posted / omkar singh

A semaphore s is an integer value that apart from initialization accessd only through the two standard opereation wait() and signal(). A semaphore s played an important role where shared resources are used. the main objective of the semaphore is to maintain mutual exclusion and provide a solution for critical section problem.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What happens if you turn off computer during update?

640


What is an example of a network operating system?

670


Which one is the first operating system?

688


What is the most powerful computer in the world 2019?

734


What do you know about the latest android version Lollipop?

711


What is startup repair on my computer?

728


Can I install chrome os on my laptop?

706


What is concurrency go?

757


Does a disk cleanup delete everything?

728


What is difference between post and patch?

782


What is the fastest computer operating system?

696


Can kernel panic be fixed?

725


How do you clear cache on a laptop?

730


What are compile time Errors?

820


Can yum install rpm?

817