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 |
When does stack (process stack) overflow? What are the remedies?
Why is a single serial port managed with a single interrupt-driven i/o but a front-end processor is managed using a polling i/o, such as a terminal concentrator?
Is program files x86 64 bit?
how many types of operating system
Can I change operating systems on my laptop?
What are the advantage of using threads?
What are the different operating systems?
Why do I have x86 program file?
How does reference counting manage memory allocated objects?
What is the difference between af_inet and pf_inet?
How much ram do I need?
for an application which exceeds 64k the memory model should be a)medium b)huge c)large d)none