What is critical section problem?
Consider a system consists of 'n' processes. Every process has segment of code called a critical section, in which the process might be changing common variables, updating a table, writing a file. When one process is implementing in its critical section, no other process can allowed implementing in its critical section.