Documentation
¶
Overview ¶
Package pid answers whether a recorded process is still running. One implementation with two readers: the cache's in-flight registry, which reports a killed run to the next one, and machine-wide admission, which retires the claim a dead run left behind.
Untagged, so the package comment belongs to the package on every platform. Put on the !windows file it would have been invisible to a Windows reader and to any tool that builds for one.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Alive ¶
Alive reports whether pid is still running. Signal 0 performs the permission and existence checks without delivering anything, which is the portable-POSIX way to ask. A process owned by another user answers EPERM, and that still proves it exists, so only ESRCH ("no such process") counts as dead.
Types ¶
This section is empty.