Expand description
Unix-specific ProcessManager implementation.
- Each child is started in its own process group via setpgid(0, 0).
- On Linux,
PR_SET_PDEATHSIGis set to SIGTERM. - Tree termination uses kill on the process group id.
Process reaping is based partly on https://github.com/fpco/pid1-rs
Those parts used under the MIT license, see full license at end. pid1-rs license: Copyright (c) 2023 FP Complete
Structsยง
- Child
Entry ๐ - Inner ๐
- Tokio
Process Manager - Tokio-based Unix process manager.
- Unix
Process Supervisor - Unix-specific process supervision primitives (to be implemented with nix):
- Unix
Shared Memory - Unix shared memory helpers (memfd,
SCM_RIGHTS) should be implemented here as needed.