In this video, we learn about Race Condition.
What is a Race Condition?
When two processes are competing with each other causing data corruption.
As shown in the diagram, two persons are trying to deposit 1 dollar online into the same bank account. The initial amount is 17 dollar. Due to race conditions, the final amount in the bank is 18 dollar instead of 19.