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 the use of Semaphore?

Answer Posted / rajesh

Semaphore is to solve the problem of syncronisation. It is
a monitor, to monitor the critical section of the program.

it can be implemented with the help of the a single
variable and depending upon the value of that variable
thread is allowed to enter in the critical section.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is the ternary operator written x : y ? Z or x ? Y : z ?

1051


What are the benefits of detached objects?

1015


why static class in java

1724


Do I need to import javlang package any time? Why ?

1038


Can I use javascript to submit a form?

1101


How to determine SGA site?

2478


What are callback interfaces?

1055


What do you mean by Socket Programming?

1035


How to implement RMI in Java?

2835


How are commas used in the intialization and iteration parts of a for statement?

1054


What are the different approaches to represent an inheritance hierarchy?

1021


How to implement dphibernate to activate lazy loading in Flex with java ?thanx in advance!

2947


Why a client should be multithreading? Explain.

1037


What is a modular application? What does module-relative mean?

998


Explain RMI Architecture?

1038