Once the thread ends its critical job , it gets rid of its number .
Once the thread ends its critical job , it enters the non-critical section .
Once the thread ends its critical job , it gets rid of its number and enters the non-critical section .