、竟争资源引起死锁 令可剥夺和非剥夺性资源 可剥夺资源,如CPU,内存 不可剥夺资源,如磁带机,打印机 ◆竞争非剥夺资源 Example 1958 System has 2 tape drives >PI and P2 each hold one and each needs another one P1 tape1 tape2 P2 嵌入式系统实验室 EMBEDDED SYSTEM LAB口RAT口RY SU:MDU INTHUTE OR AOVANCLD STUOY D USTt一、竞争资源引起死锁 ❖可剥夺和非剥夺性资源 ➢可剥夺资源,如CPU,内存 ➢不可剥夺资源,如磁带机,打印机 ❖竞争非剥夺资源 Example: ➢System has 2 tape drives ➢P1 and P2 each hold one and each needs another one P1 P2 tape1 tape2