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 do I scan a usb drive for errors?
How much ram do I need 2019?
Can I move programs from c drive to d?
When does thrashing occur?
Describe main memory and secondary memory storage in brief.
Will chkdsk fix corrupt files?
What are the different types package forms?
What is a semaphore? What are the different types of semaphores?
What resources are used when a thread created? How do they differ from those when a process is created?
Should I install 32 bit or 64 bit?
What happens if we don’t override a run method?
How much cpu usage is normal?
What problems are faced during the implementation of a network-transparent system?
What resources are used when a thread created?
How can I tell what devices are connected to my usb?