Skip to content

Commit 43fece6

Browse files
authored
Create suspend_unix.go
1 parent 66958e5 commit 43fece6

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

source-code/src/suspend_unix.go

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
//go:build !windows
2+
3+
package src
4+
5+
import "syscall"
6+
7+
func sendSIGTSTP(pid int) error {
8+
return syscall.Kill(pid, syscall.SIGTSTP)
9+
}

0 commit comments

Comments
 (0)