{
  "id": "race-condition.concurrency",
  "term": "race condition",
  "sense": "concurrency",
  "pos": "noun",
  "status": "review",
  "level": 11,
  "domain": "computing",
  "style": null,
  "definition": "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.",
  "folk_gloss": null,
  "emergence": {
    "components": [
      "process.general",
      "access.entry",
      "order.arrangement",
      "time.dimension",
      "uncertainty.epistemic",
      "error.mistake"
    ],
    "interaction": "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.",
    "novel_properties": [
      "outcome depends on timing rather than logic",
      "failure that appears only sometimes",
      "hard to reproduce or test"
    ]
  },
  "examples": [],
  "relations": [
    {
      "id": "defect.flaw",
      "type": "is-a",
      "note": "a flaw in a system that comes from timing between processes"
    },
    {
      "id": "deadlock.standstill",
      "type": "contrasts-with",
      "note": "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"
    }
  ],
  "used_by": [],
  "forms": [
    "race condition",
    "race conditions"
  ],
  "closed": true,
  "provenance": {
    "author": "claude:claude-opus-5-5",
    "date": "2026-12-01",
    "confidence": 0.6
  },
  "canonical": "https://emergencemachine.com/tools/lexicon/what-is-the-meaning-of-race-condition.concurrency"
}