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>
(cherry picked from commit fff164c22e)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
10 lines
104 B
Go
10 lines
104 B
Go
// +build !linux
|
|
|
|
package container
|
|
|
|
import "os"
|
|
|
|
func isRuntimeSig(_ os.Signal) bool {
|
|
return false
|
|
}
|