- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for newPIDProcess (1.31 sec)
-
src/os/exec.go
// (or during closeHandle), not directly! handle is immutable. // // On Windows, it is a handle from OpenProcess. // On Linux, it is a pidfd. // It is unused on other GOOSes. handle uintptr } func newPIDProcess(pid int) *Process { p := &Process{ Pid: pid, mode: modePID, } runtime.SetFinalizer(p, (*Process).Release) return p } func newHandleProcess(pid int, handle uintptr) *Process {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 22:06:47 UTC 2024 - 12.8K bytes - Viewed (0)