An operating system contains three resource classes. The number of resource units in these classes are $7, 7\ \text{and} \ 10$ respectively. The current resource allocation state is shown below: $$\begin{array}{|c|c|}\hline \textbf{Process} & \textbf{Allocated Resources} & \textbf{Maximum Requirements} \\ & R_1\:\:\:\:\:\: R_2\:\:\:\: R_3 & R_1\:\:\:\:\:\: R_2\:\:\:\: R_3 \\ \hline P_{1} & 2 \:\:\:\:\:\:\:\:\: 2 \:\:\:\:\:\:\:\: 3 & 3 \:\:\:\:\:\:\:\:\: 6 \:\:\:\:\:\:\:\: 8 \\ P_{2} & 2 \:\:\:\:\:\:\:\:\: 0 \:\:\:\:\:\:\:\: 3 & 4 \:\:\:\:\:\:\:\:\: 3 \:\:\:\:\:\:\:\: 3 \\ P_{3} & 1 \:\:\:\:\:\:\:\:\: 2 \:\:\:\:\:\:\:\: 4 & 3 \:\:\:\:\:\:\:\:\: 4 \:\:\:\:\:\:\:\: 4 \\ \hline \end{array}$$
- Is the current allocation state safe? Justify.
- If process $P_1$ now requests $(1,1,0)$ resources, then what will be the status of the new state?