Skip to main content

Module children

Module children 

Source
Expand description

The runtime’s flat child tree: every turn worker and subagent is a direct child of the supervisor — the tree is one level deep, so there is exactly one process that can orphan work and exactly one place that reaps. Children are spawned through supervisor::spawn (the reaper + PDEATHSIG + process groups), tracked here with their purpose, liveness and cancellation, and torn down by the kill ladder on drain.

Structs§

Child
One live child.
Children
The children registry.

Enums§

ChildKind
Why a child exists.

Functions§

kind_label