0
1.6kviews
Write down the safety and resources Request Algorithm.
1 Answer
written 2.5 years ago by | • modified 2.5 years ago |
Safety Algorithm
We can now present the algorithm for finding out whether or not a system is in a safe state. This algorithm can be described as follows:
- Let Work and Finish be vectors of length m and n, respectively. Initialize Work = Available and Finish[i] = false for i …