Explain race condition


Explain the race condition a descriptive manner. Explain this question with an example.


Race Condition can be defined as the condition occur during process synchronization where two or more processes require the the same shareble resource at the same time.For example let two processes P1 and P2 both require the same resource R1, now R1 cannot be shared by both P1 and P2 simultaneously.This condition is called race condition