💻 Chapter 1 · Computer Systems

📚 Left: 20✓ Knew it: 0↻ Review: 0
Question
What is a deadlock, and what is an interrupt?
🔁 Tap to see answer
Answer
Deadlock: two or more processes are stuck, each waiting for a resource held by the other — P1 holds R1 and needs R2 while P2 holds R2 and needs R1. Interrupt: a signal alerting the CPU to an event needing immediate attention; the CPU saves its state, runs the Interrupt Service Routine (ISR), then resumes.
1 / 20
💬