Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Default = &Monitor{ subscribers: make(map[chan runc.Exit]*subscriber), }
Default is the default monitor initialized for the package
View Source
var ErrNoSuchProcess = errors.New("no such process")
ErrNoSuchProcess is returned when the process no longer exists
Functions ¶
func GetSubreaper ¶
GetSubreaper returns the subreaper setting for the calling process
func Reap ¶
func Reap() error
Reap should be called when the process receives an SIGCHLD. Reap will reap all exited processes and close their wait channels
func SetSubreaper ¶
SetSubreaper sets the value i as the subreaper setting for the calling process
Types ¶
Click to show internal directories.
Click to hide internal directories.