Define entry section and exit section.
The critical section problem is to design a protocol that the processes can use to cooperate. Every process must request permission to enter its critical section. The section of the code executing this request is the entry section. The critical section is followed by an exit section. The remaining code is the remainder section