What is the use of Semaphore?

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a policy?

1767


What do you know about seam?

597


If I wanted to use a solarisui for just a jtabbedpane, and the metal ui for everything else, how would I do that?

565


Which are the different segments of memory?

593


Explain the difference between object state and behavior?

563






Why does the option tag render selected=selected instead of just selected?

671


What must a class do to implement an interface?

583


Explain what is synchronization?

572


What is the difference between the session.get() method and the session.load() method?

598


What is a tasks priority and how is it used in scheduling?

545


What is the diffrence between a local-tx-datasource and a xa-datasource? Can you use transactions in both?

567


Why use a datasource when you can directly specify a connection details?

534


Is infobus easy to use?

598


what are getters and setters in Java with examples?

1284


How are the elements of a cardlayout organized?

596