Closed
Description
signal.Notify accepts SIGCONT as a parameter, but SIGCONT is never actually delivered to the channel. I was able to register SIGCONT handler with cgo, but couldn't find any way from Go. Tested on: * go version go1.3.1 darwin/amd64 * go version go1.3.3 linux/amd64 With the following source, I would expect the program to terminate immediately; however, it hangs indefinitely. You can change SIGCONT into nearly any other signal to verify. SIGTSTP has the same issue. package main import ( "os" "os/signal" "syscall" ) func main() { ch := make(chan os.Signal) signal.Notify(ch, syscall.SIGCONT) syscall.Kill(0, syscall.SIGCONT) <-ch }