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
What is the difference between micro kernel and macro kernel?
What are the different types of process termination?
what are the softwares helping for auditing poblems?
What is a volatile keyword?
What is chkdsk used for?
What resources are used when a thread created? How do they differ from those when a process is created?
Explain briefly about assembler and its functioning?
Under what circumstances do page faults occur?
What is the most used operating system?
Explain the Functionality of Operating System?
Explain what is the memory wall problem?
Do you know what is a binary semaphore?
Do I need program files x86?
What is readers-writers problem?
Are 64bit applications faster?