The Race Condition
This video presents the same text shown beside it, spoken and on screen. It adds nothing the text does not say.
State
A race condition is an outcome depending on the sequence or timing of uncontrollable events — the hazard that synchronization mechanisms, mutexes and semaphores among them, exist to prevent.
Show
Two transfers reading one balance at the same instant can both approve what one should.
Watch for
Timing bugs hide in tests that got lucky.