Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

What is LiveLock?

1176


What is a virtual machine and how does it work?

1103


What is Page-Stealer process?

1326


Is 4gb ram enough for netflix?

1196


What are the different tasks of Lexical analysis?

2332


How to stop running thread?

1191


Will chkdsk fix bad sectors?

1017


Explain Page Segmentation.

1074


What are its main functions?

1189


How can multiple threads be controlled simultaneously?

1198


Explain the resident set and working set of a process?

1157


Tell me if you know how are the wait/signal operations for monitor different from those for semaphores?

1095


Can a 64 bit run a 32bit program?

1018


What are the thread states?

1104


Which is better ext3 or ext4?

1063