fn start_ppid_watchdog()Expand description
Start a ppid polling watchdog on Linux/macOS. If the parent process dies, getppid() changes (reparented to init/launchd). This is safer than PR_SET_PDEATHSIG which tracks the parent thread, not process, and can fire spuriously with async runtimes like Tokio.