Debian Codegraph @

syscall_test.go

raw
1 // +build !windows
2
3 package mgo_test
4
5 import (
6 "syscall"
7 )
8
9 func stop(pid int) (err error) {
10 return syscall.Kill(pid, syscall.SIGSTOP)
11 }
12
13 func cont(pid int) (err error) {
14 return syscall.Kill(pid, syscall.SIGCONT)
15 }