So let us start with process 1, we have initially set that p1_inside and p2_inside is both false, indicating that both processes are not in the critical section.
And then it sets p2_inside = true , ಪರಿಣಾಮವಾಗಿ ಪ್ರಕ್ರಿಯೆ 1 ನಿರ್ಣಾಯಕ ವಿಭಾಗಕ್ಕೆ ಪ್ರವೇಶಿಸುತ್ತದೆ.