延續前一天提到的Banker's Algorithm來做舉例說明
P1 Request(1,0,2)
Deadlock Detection
Single Instance of Each Resource Type
Several Instances of a Resource Type
Detection Algorithm
Example of Detection Algorithm
Detection-Algorithm Usage
Recovery from Deadlock:Process Termination
Recovery from Deadlock:Resource Preemption