作業系統›Ch5 Deadlock(死結)第 7 題/共 11 題
7. Banker's Algorithm、Safe State
#OS-05-007中Banker's AlgorithmSafe State
Consider a system with 15 resources and 4 threads: , and . The second column in the following table shows the maximum number of resources need by each thread and the third column shows the number of resources each thread is currently holding. Let be the maximum value of (shown below) that can still keep the system in a safe state. Which statements are correct?
| Maximum Needs | Current Needs | |
|---|---|---|
| 5 | 3 | |
| 4 | 1 | |
| 9 | 5 | |
| 4 |
📄 交大111
▤完整推導請見《WH 資工筆記 · 作業系統》Ch5 Deadlock(死結)