This is a simulation of a system that manages processess interacting with it by requesting resources and relinquish them at the end of their livetime.
The system is able to detect if it is going to be in an unsafe state that may make the system in a deadlock. The system is also able to recover from this state to a safe state.
- C++