- Q6 Consider The Following Snapshot Of A System In Which Four Resources A B C And D Are Available The System Contains 1 (59.21 KiB) Viewed 54 times
Q6. Consider the following snapshot of a system in which four resources A, B, C and D are available. The system contains
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Q6. Consider the following snapshot of a system in which four resources A, B, C and D are available. The system contains
Q6. Consider the following snapshot of a system in which four resources A, B, C and D are available. The system contains a total of 6 instances of A, 4 of resource B, 4 of resource C, 2 resource D. [1 + 1 + 1 + 2] Need B с D A 6 Available B C D 4 4 2 P% P Р P3 Р А 2 1 1 0 Allocation B CDA 0 1 1 3 1 0 0 1 0 1 0 3 1 0 1 2 Mar B с 2 1 2 0 2 1 1 0 DA 1 2 0 1 • Compute the Need Matrix • Is the system in a safe state? Why or why not? • Is the system deadlocked? Why or why not? If a request from P3 arrives for (2, 1, 0, 0), can the request be granted immediately?