Files
docker-cli/cli/command/container/signals_notlinux.go
Brian Goff fff164c22e Ignore SIGURG on Linux.
In go1.14+, SIGURG is used by the runtime to handle preemtable system
calls.
In practice this signal caught *frequently*.

For reference:

https://go.googlesource.com/proposal/+/master/design/24543-non-cooperative-preemption.md
https://github.com/golang/go/issues/37942

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2021-01-15 19:03:39 +00:00

10 lines
104 B
Go

// +build !linux
package container
import "os"
func isRuntimeSig(_ os.Signal) bool {
return false
}