---
library: "bootstrap"
slug: "Parallel"
name: "Parallel"
ref: "Parallel#d58d"
hash: "sema:Parallel#mh:SHA-256:d58d6696be11be09651e71307f0ea6f42bb45fac137ed985a61e475144f687a5"
type: "Data Structures"
layer: "Infrastructure"
version: "0.11.0"
root: "a6a3d1ff0f982ee30430c5b42f3784c8ec901fd68482cfc1bc30899c1e5e48c5"
license: null
url: "https://semahash.org/vocabularies/bootstrap/patterns/Parallel"
---

# Parallel

Concurrent flow

Infrastructure · Data Structures

## Mechanism

Concurrent execution of two or more branches under no ordering guarantee: a caller may not assume which branch runs, finishes, or observes state first. Genuine simultaneity and interleaving both satisfy it — the pattern is the contract, not the substrate.

## Invariants

- No result may depend on the order branches were entered or completed. A branch set with an order requirement is a [Chain](https://semahash.org/vocabularies/bootstrap/patterns/Chain.md).
- Each declared branch is attempted. How outcomes combine is `join_semantics` and varies.

## Where this came from

—

## Builds on

- [Chain](https://semahash.org/vocabularies/bootstrap/patterns/Chain.md) (references)

## Used by

- [BreadthGovernor](https://semahash.org/vocabularies/bootstrap/patterns/BreadthGovernor.md) (references)
- [OptimisticSolver](https://semahash.org/vocabularies/bootstrap/patterns/OptimisticSolver.md) (references)
- [Parallelize](https://semahash.org/vocabularies/bootstrap/patterns/Parallelize.md) (references)

## Identity

- Library: bootstrap 0.11.0 (root a6a3d1ff0f98)
- Ref: Parallel#d58d
- Hash: sema:Parallel#mh:SHA-256:d58d6696be11be09651e71307f0ea6f42bb45fac137ed985a61e475144f687a5

## Links

- Page: https://semahash.org/vocabularies/bootstrap/patterns/Parallel
- JSON: https://semahash.org/vocabularies/bootstrap/patterns/Parallel.json
- Library: https://semahash.org/vocabularies/bootstrap
- Library index: https://semahash.org/vocabularies/bootstrap/index.json
