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

To what value is a variable of the string type automatically initialized?

1134


the same information whether it will connect to the database or it will be used previous information?

1039


Where we can write Rmi registry in the code, without having to write it at the command prompt?

2770


Difference between new operator and class.forname().newinstance()?

1133


What is the difference between a menuitem and a checkboxmenuitem?

1110


What is the difference between java class and bean?

1080


What are transaction attributes?

1108


Are we allowed to change the transaction isolation property in middle of a transaction?

1028


What value does read() return when it has reached the end of a file?

1029


What state does a thread enter when it terminates its processing?

1061


What modifiers may be used with an interface declaration?

1137


What is table mutation and how do you avoid it?

2465


cud u help me ... i am struggling with this question... to find all the subsets of a given set for ex.... a,,b,c shud give all the subsets.... i gt the program in c bt nt able to get it in java..... help needed ..

2208


What is the difference between RMI registry and OS Agent?

1138


Why a component architecture for the java platform?

1212