()
| 29 | } |
| 30 | |
| 31 | func (p ParentDeathSignal) Set() error { |
| 32 | return SetParentDeathSignal(uintptr(p)) |
| 33 | } |
| 34 | |
| 35 | func SetParentDeathSignal(sig uintptr) error { |
| 36 | if err := unix.Prctl(unix.PR_SET_PDEATHSIG, sig, 0, 0, 0); err != nil { |
no test coverage detected