Expand description
Process-tree cleanup setup for the broker.
The broker can launch backend processes. Installing cleanup before argument dispatch ensures later serve modes inherit the same parent-death / kill-on-close containment behavior from process start.
Structs§
- Macos
Supervisor Contract - Concrete macOS supervisor contract for Phase 5 process-tree cleanup.
Enums§
- Macos
Kqueue Filter - kqueue filter used by the macOS supervisor child.
- Macos
Kqueue Note - kqueue process note used by the macOS supervisor child.
- Macos
Supervisor Exit Action - Action performed by the macOS supervisor child after broker exit.
- Macos
Supervisor Race Guard - Required startup race guard for the macOS supervisor child.
- Macos
Supervisor Registration Barrier - Required startup barrier for the macOS supervisor child.
- Macos
Supervisor Watch Pid - PID watched by the macOS supervisor child.
- Process
Tree Cleanup - Cleanup mechanism installed, or concrete lifecycle contract selected, for the current broker process.
- Process
Tree Error - Errors returned while installing process-tree cleanup.
Constants§
- MACOS_
SUPERVISOR_ KILL_ DEADLINE - Maximum Phase 5 cleanup budget for a macOS backend after broker exit.
Functions§
- cleanup_
target - Return the cleanup mechanism this platform attempts to install.
- install_
cleanup - Install process-tree cleanup for the current broker process.
- macos_
supervisor_ contract - Return the concrete macOS kqueue-supervisor contract for Phase 5.