github.com/hustcat/docker@v1.3.3-0.20160314103604-901c67a8eeab/pkg/signal/signal_unix.go (about) 1 // +build !windows 2 3 package signal 4 5 import ( 6 "syscall" 7 ) 8 9 // Signals used in api/client (no windows equivalent, use 10 // invalid signals so they don't get handled) 11 12 const ( 13 // SIGCHLD is a signal sent to a process when a child process terminates, is interrupted, or resumes after being interrupted. 14 SIGCHLD = syscall.SIGCHLD 15 // SIGWINCH is a signal sent to a process when its controlling terminal changes its size 16 SIGWINCH = syscall.SIGWINCH 17 // DefaultStopSignal is the syscall signal used to stop a container in unix systems. 18 DefaultStopSignal = "SIGTERM" 19 )