This preview shows page 1. Sign up to view the full content.
Unformatted text preview: b Deadlock can be detected if traffic is not moving c One way to prevent deadlock is by putting cameras or strips on the street and monitor how many cars are going through the traffic lights at each intersection. And by controlling traffic by how many cars go through 10 a - Job no Device allocated Maximum required Remaining needs 1 5 6 1 2 4 7 3 3 2 6 4 4 2 2 b - The system is unsafe d The system only has 12 devices and 11 are already allocated, if Job 1 would need to require the maximum required the following jobs if needed the maximum would not get the resources and deadlock may occur....
View Full Document
- Spring '11