Answer Posted / vkin
When two or more threads of your program are blocked from
gaining access to a resource and as a result cannot make
ant progress, such a situation is called Starvation.
The ultimate form of Starvation is Deadlock. Deadlock
occurs when two or more threads are waiting on a condition
that cannot be satisfied. Most often a Deadlock occurs when
two or more threads are each waiting for the other to do
something.
Semaphores are used to avoid Deadlock situations.
| Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
How deadlock can be detected in a system?
How do I force a program to close?
How do you format a pc?
How much ram do I need laptop?
What are the main advantages of the microkernel approach to system design?
How do I stop blue screen?
What is the cache memory?
Explain thread.
What are the 7 layers of networking?
Does overheating cause blue screen?
What is git bash?
What is a bootloader?
How do I sort files?
Explain the difference between internal and external fragmentation in memory management. Suggest ways to reduce them.
How to implement Threading?