What is critical section problem?
Consider a system having of 'n' processes. Each process has segment of code known as a critical section, in which the process may be changing common variables, updating a table, writing a file. When one process is implementing in its critical section, no other process can allowed to implementing in its critical section.