real time example for deadlock,starvation,livelock
Answer Posted / prateek shrivastava
Dead lock generally occurs when 2 threads try to acquire
same shared resource. In this case each thread end up
waiting for other to release lock and deadlock occurs
Is This Answer Correct ? | 5 Yes | 5 No |
Post New Answer View All Answers
What checkbox method allows you to tell if a checkbox is checked?
Explain OOPs concept.
Is it necessary for the port addresses to be unique? Explain with reason.
what is function overloading in java?
Difference between static binding and dynamic binding?
What is the difference between path and classpath variables?
What is method overloading and method overriding?
How to set the permissions to a file in java?
Which access specifier can be used with class ?
What is stack class in java?
How can u increase the heap size in the memory?
Is string an object?
Which class is used by server applications to obtain a port and listen for client requests?
What is the exact difference in between unicast and multicast object? Where we will use?
Give me an example of array and linked list? Where they can be used?