Deadlock detection
$10-30 USD
Paid on delivery
In this project you will develop a deadlock detection algorithm to determine whether a given system state, s, which is represented by a General Resource
Graph, G(V,E), contains a set of processes that are deadlocked. The system is continuously keeping track of all the resource requests issued by processes and corresponding resource allocations. The state of the system is maintained by a set of edges, E = {(pi, rk), (rl, pj)}, which represents all requests and allocation in system state s. You may assume that the system contains only reusable resources. The input to your algorithm may be an adjacency matrix or an edge list representing the set E of system state s. The output of your algorithm is the list of processes that are deadlocked in state s. Your algorithm will have to execute on any syntactically correct input.
Deliverables:
A program that implements your deadlock detection algorithm.
Project ID: #12308153