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

What is the difference between micro kernel and macro kernel?

669


What are the different types of process termination?

574


what are the softwares helping for auditing poblems?

1508


What is a volatile keyword?

620


What is chkdsk used for?

547






What resources are used when a thread created? How do they differ from those when a process is created?

532


Explain briefly about assembler and its functioning?

575


Under what circumstances do page faults occur?

659


What is the most used operating system?

536


Explain the Functionality of Operating System?

572


Explain what is the memory wall problem?

636


Do you know what is a binary semaphore?

610


Do I need program files x86?

529


What is readers-writers problem?

565


Are 64bit applications faster?

525