Skip to main content

Module multicast_segment

Module multicast_segment 

Source
Expand description

§Stop semantics (ADR-0025)

This segment implements OutcomePipeline and propagates PipelineOutcome::Stopped(ex) with the exchange state intact. See ADR-0025 §3.

Structs§

MulticastSegment
Outcome-aware Multicast segment. Holds N child OutcomeSegments and a strategy (sequential or parallel). Parallel cancellation logic mirrors T13 SplitSegment — lower-the-value CAS records lowest-branch-index that Stopped (spec §5.2.2 line 497); pre-start gate skips not-yet-started branches; in-flight branches run to completion (spec §5.6 line 544: no abrupt abort); JoinSet ensures cancel-safe drop on outer future drop.