if the other process is being executed in its critical section it has to wait until it is completed