MCPcopy
hub / github.com/google/gvisor / Reaper

Struct Reaper

pkg/test/testutil/testutil.go:457–461  ·  view source on GitHub ↗

Reaper reaps child processes.

Source from the content-addressed store, hash-verified

455
456// Reaper reaps child processes.
457type Reaper struct {
458 // mu protects ch, which will be nil if the reaper is not running.
459 mu sync.Mutex
460 ch chan os.Signal
461}
462
463// Start starts reaping child processes.
464func (r *Reaper) Start() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected