MCPcopy Index your code
hub / github.com/DarthSim/overmind / waitPid

Method waitPid

start/process.go:142–151  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

140}
141
142func (p *process) waitPid() {
143 ticker := time.NewTicker(runningCheckInterval)
144 defer ticker.Stop()
145
146 for range ticker.C {
147 if p.pid > 0 {
148 break
149 }
150 }
151}
152
153func (p *process) groupSignal(s syscall.Signal) error {
154 if pid := p.pid; pid > 0 {

Callers 2

StartObservingMethod · 0.95
respawnMethod · 0.95

Calls 1

StopMethod · 0.45

Tested by

no test coverage detected