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?

Answers were Sorted based on User's Feedback



What is the use of Semaphore?..

Answer / geeta

Semaphore variable are to make sure that some shared
variable is not being modified/updated simultaneously by
two separate processes/threads.

Is This Answer Correct ?    2 Yes 0 No

What is the use of Semaphore?..

Answer / anonymous

It is being used to prevent DEADLOCK upto some extent only.
It is a primitive level mechanism.

Is This Answer Correct ?    2 Yes 0 No

What is the use of Semaphore?..

Answer / 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

More Advanced Java Interview Questions

Dear freinds... I want to know how to write self mapping for a table using hibernate?

1 Answers   Cap Gemini,


Hi I have joined java course. I also want additional help from any tutorials website. Please suggest me tutorials which provides easy to understand online applet tutorials?

0 Answers  


What is a class loader? What are the different class loaders used by jvm?

0 Answers  


A user of a web application sees a jsessionid argument in the URL whenever a resource is accessed. What does this mean? a. The form must have the field jsessionid b. URL rewriting is used as the session method c. Cookies are used for managing sessions

0 Answers  


In howmany ways a thread can be created?

3 Answers   HCL,


what are the activation groupworks?

0 Answers  


What is ioc concept?

0 Answers  


Why are my checkboxes not being set from on to off?

0 Answers  


How to add new JTabbed pane?

1 Answers  


why static class in java

0 Answers   Infotech, SunGard,


Explain the advantages and disadvantages of detached objects.

0 Answers  


How many requests can a server fetch at a time?

1 Answers  


Categories