(pid int, handle uintptr)
| 26 | } |
| 27 | |
| 28 | func newProcess(pid int, handle uintptr) *Process { |
| 29 | p := &Process{Pid: pid, handle: handle} |
| 30 | runtime.SetFinalizer(p, (*Process).Release) |
| 31 | return p |
| 32 | } |
| 33 | |
| 34 | func (p *Process) setDone() { |
| 35 | atomic.StoreUint32(&p.isdone, 1) |
no outgoing calls
no test coverage detected