race condition · concurrency
Ask PrometheusAn error where two processes access the same thing at about the same time, so the outcome changes with which one happens first, an order that is not certain.
Race condition (noun) means: An error where two processes access the same thing at about the same time, so the outcome changes with which one happens first, an order that is not certain. It emerges from process, access, order, time: Two processes running at the same time both access one shared state, and because nothing fixes the order of their steps, the final outcome depends on which one happens to get there first. In the EmergenceLexicon it sits at computed level 11, chaining down to the four foundations (space, time, energy, pattern).
Emergence
- outcome depends on timing rather than logic
- failure that appears only sometimes
- hard to reproduce or test
Chain to foundations
full chain as text (112 steps)
- race conditionL11
Neighborhood
Concepts that depend on this one above; what it is built from below.
Relations
| is-a | defect.flaw | a flaw in a system that comes from timing between processes |
| contrasts-with | deadlock.standstill | in a deadlock the processes stop and wait for each other; in a race condition they keep going and change the same thing in an order nobody controls |