mirror of
https://github.com/minio/minio.git
synced 2024-12-27 15:45:55 -05:00
16 lines
218 B
Go
16 lines
218 B
Go
// +build !windows
|
|
|
|
package mgo_test
|
|
|
|
import (
|
|
"syscall"
|
|
)
|
|
|
|
func stop(pid int) (err error) {
|
|
return syscall.Kill(pid, syscall.SIGSTOP)
|
|
}
|
|
|
|
func cont(pid int) (err error) {
|
|
return syscall.Kill(pid, syscall.SIGCONT)
|
|
}
|