What do you mean by deadlock?

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


Please Help Members By Posting Answers For Below Questions

Explain the dual channel architecture?

544


Explain cycle stealing?

543


Explain the typical elements of a process image?

555


State two differences between user and kernel space?

521


Give the disadvantages of Havander's Strategies.

2122






What is virtual memory? Where it used by OS?

624


What is the dispatcher?

580


Explain a drawback of mvt?

579


What problems are faced during the implementation of a network-transparent system?

554


What are advantages of operating system?

529


What is the x86 folder?

524


What is a root program?

541


What is trcd timing?

548


How does the cpu and the ram communicate?

547


What are the different ram standards/versions?

532