Free Deadlocks lessonsDeadlocks · Stage 0 · What a deadlock is · Step 1
The four conditions
See how two threads and two locks can freeze each other, and the four things that must all be true for it. About 12 minutes.
Which of these is NOT one of the four conditions necessary for deadlock?
- AA time limit on how long a process can hold a resource
- BHold and wait
- CCircular wait
Show the answer
A time limit on how long a process can hold a resource. That would be a way to prevent deadlock, not a condition for it.
4 questions on this idea
Short questions that apply the idea to new cases: trace it, work out a number, put steps in order. A wrong answer explains itself.
Answer them in your browserFree account, no card. Your progress is saved, and the idea comes back in a quick review later.
Sign up free to solve