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
To what value is a variable of the string type automatically initialized?
the same information whether it will connect to the database or it will be used previous information?
Where we can write Rmi registry in the code, without having to write it at the command prompt?
Difference between new operator and class.forname().newinstance()?
What is the difference between a menuitem and a checkboxmenuitem?
What is the difference between java class and bean?
What are transaction attributes?
Are we allowed to change the transaction isolation property in middle of a transaction?
What value does read() return when it has reached the end of a file?
What state does a thread enter when it terminates its processing?
What modifiers may be used with an interface declaration?
What is table mutation and how do you avoid it?
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 ..
What is the difference between RMI registry and OS Agent?
Why a component architecture for the java platform?