Documentation
¶
Overview ¶
Package platform holds what ncly needs from the operating system: for now, the process tree that cleanup reaches, as Programs that ncly runs in contract.md defines.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BecomeSubreaper ¶
func BecomeSubreaper() error
BecomeSubreaper makes this process adopt every orphan among its descendants, so that cleanup still finds a descendant whose parent exited.
func Descendants ¶
Descendants returns the running processes whose chain of parents leads to pid, found through their parent process, so a descendant that left the process group of its parent is still found.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.