A system is composed of four processes, $\{\mathrm{P} 1, \mathrm{P} 2, \mathrm{P} 3, \mathrm{P} 4\}$, and two types of consumable resources, $\{\mathrm{R} 1, \mathrm{R} 2\}$. There are 2 units of each type of resource.
- $\mathrm{P1}$ acquired 1 unit of R2 and requested 1 unit of R1.
- $\mathrm{P2}$ acquired 1 unit of R1.
- $\mathrm{P3}$ acquired 1 unit of R1 and requested 1 unit of R2.
- $\mathrm{P4}$ acquired 1 unit of R2.
Which of the following processes are NOT in deadlock?
- $\mathrm{P1}$
- $\mathrm{P2}$
- $\mathrm{P3}$
- $\mathrm{P4}$