OPERATING SYSTEM--
Consider the following state of a system with four processes and five types of resources.
The first table represents the currently acquired resources (per process).
0 | 1 | 1 | 1 | 2 |
0 | 1 | 0 | 1 | 0 |
0 | 0 | 0 | 0 | 1 |
2 | 1 | 0 | 0 | 0 |
The second table represents the maximum remaining resource needs (per process).
1 | 1 | 0 | 2 | 1 |
0 | 1 | 0 | 2 | 1 |
0 | 2 | 0 | 3 | 1 |
0 | 2 | 1 | 1 | 0 |
E=(24144)
A=(01021)
Use deadlock detection to identify if there is a deadlock in the system. If so, identify the processes that are deadlocked. Show your work.
Get Answers For Free
Most questions answered within 1 hours.