Reaper reaps child processes.
| 455 | |
| 456 | // Reaper reaps child processes. |
| 457 | type 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. |
| 464 | func (r *Reaper) Start() { |
nothing calls this directly
no outgoing calls
no test coverage detected