Free Deadlocks lessonsDeadlocks · Stage 0 · What a deadlock is · Step 3
Four ways to handle deadlock
Compare ignoring it, preventing it, avoiding it and detecting it, and which real systems pick which. About 13 minutes.
A database lets transactions deadlock, then notices and aborts one of them. Which strategy is this?
- ADetection and recovery
- BPrevention
- CAvoidance
Show the answer
Detection and recovery. It allows the deadlock, finds it, and breaks it by aborting a victim.
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