View Code? Open in Web Editor
NEW
Distributed deadlock detection using Chandy OR model
distributed-deadlock-detector's Introduction
Chandy Misra Hanss (OR) Algorithm Implementation
- Copy the absolute path to cwh config input file (Find the samples in /main/resources with diagrams for each config in sample folder)
- Run the provided jar
- example: java -jar CMHOR-1.0-SNAPSHOT.jar ""
- App.java is the main
- com/bits/cmh/DeadlockDetector.java is the starting point for the CMH algorithm
Sample Input files (src/main/resources)
- Sample 1.png - graph_simple.cmh
- Sample 2.png - graph_ll_with_dl.cmh
- Sample 3.png - graph_ll_without_dl.cmh
- Sample 4.png - graph_ml_with_dl.cmh
Constructing New Config Input file
- Process configuration input file (<file_name>.cwh)
- P1 dependents are P2, P3
- P2 dependents are P3, P4
distributed-deadlock-detector's People
Contributors
Stargazers
Watchers