# Race Conditions

> A defect where the outcome depends on the uncontrolled interleaving of concurrent operations.

Record: `lexicon:race-conditions`
Kind: anti-pattern
Layer: [Structural Core](https://banes-lab.com/records/layer/structural-core.md)
Canonical: https://banes-lab.com/ontology/lexicon#lexicon-race-conditions

Listed in [Lexicon terms](https://banes-lab.com/api/records/lexicon.md), after [Iteration Speed](https://banes-lab.com/records/lexicon/iteration-speed.md) and before [Ports and Adapters](https://banes-lab.com/records/lexicon/ports-and-adapters.md).

## Category

- [Core Vocabulary](https://banes-lab.com/records/lexicon-category/core-vocabulary.md)

## Negated by

- [Happens-Before Relationship](https://banes-lab.com/records/architecture/happens-before-relationship.md)
- [Concurrency](https://banes-lab.com/records/architecture/concurrency.md)
- [Concurrency Control](https://banes-lab.com/records/architecture/concurrency-control.md)

## Linked from

- [Causality / Ordering / Distributed Time](https://banes-lab.com/ontology/principles/architecture-category-causality-ordering-distributed-time.md)
- [Scalability / Performance / Optimization](https://banes-lab.com/ontology/principles/architecture-category-scalability-performance-optimization.md)
- [Transactions / State / Concurrency](https://banes-lab.com/ontology/principles/architecture-category-transactions-state-concurrency.md)
