MCPcopy
hub / github.com/lmorg/murex / Get

Method Get

lang/process_structs.go:244–250  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

242}
243
244func (fp *foregroundProc) Get() *Process {
245 fp.mutex.Lock()
246 p := fp.p
247 fp.mutex.Unlock()
248
249 return p
250}
251
252func (fp *foregroundProc) Set(p *Process) {
253 fp.mutex.Lock()

Callers 2

DumpMethod · 0.45
HasCancelledMethod · 0.45

Calls 2

LockMethod · 0.45
UnlockMethod · 0.45

Tested by

no test coverage detected