proc

package
v0.0.0-...-9196d9a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartPeriodicReaper

func StartPeriodicReaper(period int64)

StartPeriodicReaper starts a goroutine to reap processes periodically if called from a pid 1 process. The zombie processes are reaped at the beginning of next cycle, so os.Exec calls have an oppurtunity to reap their children within `period` seconds.

func StartReaper

func StartReaper()

StartReaper starts a goroutine to reap processes if called from a process that has pid 1.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL