Skip to main content

die_with_parent_supported

Function die_with_parent_supported 

Source
pub const fn die_with_parent_supported() -> bool
Expand description

Whether CodexBuilder::die_with_parent has a kernel-level effect on this platform.

This is true only on Linux, where PR_SET_PDEATHSIG is available. A supervisor that needs portable containment should use CodexBuilder::on_spawn to maintain its own watchdog on other targets.