What do you mean by deadlock?
Answers were Sorted based on User's Feedback
Answer / swathi
Dead lock is the situation which occurs when a process is
waiting for a resource which is already handled by someother
process and that particular process is waiting for some
other resource to complete its task which is handled by some
other differnt process
it is cyclic
| Is This Answer Correct ? | 11 Yes | 1 No |
Answer / 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 |
What is monolithic kernel?
Is x86 better than x64?
How do you tell if your computer is 32 or 64 bit?
Is non-pre-emptive scheduling frequently used in a computer? Why?
Can you please explain the difference between demand-paging and pre-paging?
what is the difference between mutexes and semaphores?
Can two different ram speed modules be used together?
Tell me what are the rings in windows nt?
Explain briefly about loader and its functioning?
How do I know if my motherboard is 32 bit or 64 bit?
What do you know about system model?
What is the shortest definition of os?