MCPcopy Create free account
hub / github.com/SeeFlowerX/stackplz / LetItResume

Function LetItResume

user/event/ievent.go:207–219  ·  view source on GitHub ↗
(stopped_pid uint32)

Source from the content-addressed store, hash-verified

205}
206
207func LetItResume(stopped_pid uint32) {
208 err := syscall.Kill(int(stopped_pid), syscall.SIGCONT)
209 if err != nil {
210 if err == syscall.ESRCH {
211 fmt.Printf("No such process -> %d\n", stopped_pid)
212 DelStopped(stopped_pid)
213 } else {
214 fmt.Printf("LetItResume err:%v\n", err)
215 DelStopped(stopped_pid)
216 }
217 }
218 fmt.Printf("Let %d Resume\n", stopped_pid)
219}
220
221func LetItRun() {
222 fmt.Printf("------LetItRun------\n")

Callers 2

ParseContextMethod · 0.85
ParseContextMethod · 0.85

Calls 1

DelStoppedFunction · 0.85

Tested by

no test coverage detected