- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for newHandleProcess (0.16 sec)
-
src/os/exec.go
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 { p := &Process{ Pid: pid, mode: modeHandle, handle: handle, } p.state.Store(1) // 1 persistent reference runtime.SetFinalizer(p, (*Process).Release)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 22:06:47 UTC 2024 - 12.8K bytes - Viewed (0)