github.com/c0deoo1/golang1.5@v0.0.0-20220525150107-c87c805d4593/src/cmd/go/signal_notunix.go (about)

     1  // Copyright 2012 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  // +build plan9 windows
     6  
     7  package main
     8  
     9  import (
    10  	"os"
    11  )
    12  
    13  var signalsToIgnore = []os.Signal{os.Interrupt}
    14  
    15  // signalTrace is the signal to send to make a Go program
    16  // crash with a stack trace.
    17  var signalTrace os.Signal = nil