what can the operating system do to recover from deadlock?
The operating system can recover from deadlock by:
Killing the deadlocked process (crude, and requires that it will be restarted)
Rolling Back (going back a few instructions until it can enter a non-deadlocked state, and retry)
Pre-emption (forcing the handing over of a resource to another process, at the expense of the one it's currently deadlocked on)
- asked 7 years ago
- B Butts