Coding Problem - C/Threading

null

...
Joined
Nov 12, 2014
Messages
31,280
Reputation
5,478
Daps
49,114
Reppin
UK, DE, GY, DMV
question.png


- Justify why deadlock eventually occurs.
- Draw the resource dependency graph for the system, and explain why it reveals that the system is subject to deadlocks. Highlight the cycling edges that represent the specific deadlock experienced in the program execution
- How could you restrict the behavior of this system to guarantee the absence of a deadlock?

SPOILER dem answers ..
 
Top