Race Conditions
A flaw in concurrent systems where the output is unexpectedly dependent on the sequence or timing of uncontrollable execution steps.
Definition
A flaw in concurrent systems where the output is unexpectedly dependent on the sequence or timing of uncontrollable execution steps.
Use case
Two requests reading an inventory count of 1 simultaneously and both approving an order, resulting in negative inventory.
Related terms
Articles
Race condition
When timing decides the outcome, with the classic inventory example.