Rigorous 2 PL with Wait and Die dead lock prevention Protocol Steps For execution:
- Import the project folder into any java IDE such as Eclipse or IntelliJ.
- Copy and paste the input file in the same folder as project.
- Run the Main.java class as java application with name of the input file as command line argument.
- An output file will be generated namely “output.txt” that contains all the print statements in the program.
References:
- Stackoverflow
- Javatpoint
- DB2 course slides for wait and die.