Skip to content
Beskid Platform specification

Beskid

Jump to a Beskid service

Beskid

Jump to a Beskid service

Join on ancestor handle is forbidden

Platform spec ADR

Join on ancestor handle is forbidden

Spec standingStandard

Owner
Piotr Mikstacki
Submitter
Piotr Mikstacki

Waiting on an ancestor handle while the ancestor may wait on descendants creates predictable deadlocks.

Join on a parent or ancestor Fiber<T> handle must be a compile error (JoinWouldDeadlock). Normative ordering for cancel + Join aligns with D-CORE-CONC-0014.

Structured concurrency stays acyclic on the join graph; runtime need not recover ancestor joins.

compiler/crates/beskid_analysis/; D-CORE-CONC-0014.