os.Process.Pid (field)
11 uses
os (current package)
exec.go#L38: Pid int
exec.go#L117: Pid: pid,
exec.go#L133: Pid: pid,
exec.go#L147: Pid: pid,
exec.go#L278: p.Pid = -1
exec_unix.go#L64: return syscall.Wait4(p.Pid, &status, 0, &rusage)
exec_unix.go#L94: if p.Pid == pidReleased {
exec_unix.go#L97: if p.Pid == pidUnset {
exec_unix.go#L111: return convertESRCH(syscall.Kill(p.Pid, s))
wait_waitid.go#L24: return unix.Waitid(unix.P_PID, p.Pid, &info, syscall.WEXITED|syscall.WNOWAIT, nil)
golang.org/x/tools/internal/gocommand
invoke.go#L474: log.Fatalf("detected hanging go command (golang/go#54461); waited %s\n\tcommand:%s\n\tpid:%d", time.Since(start), cmd, cmd.Process.Pid)