Black Lives Matter. Support the Equal Justice Initiative.

Source file src/cmd/go/internal/base/signal_unix.go

Documentation: cmd/go/internal/base

     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  //go:build aix || darwin || dragonfly || freebsd || js || linux || netbsd || openbsd || solaris
     6  // +build aix darwin dragonfly freebsd js linux netbsd openbsd solaris
     7  
     8  package base
     9  
    10  import (
    11  	"os"
    12  	"syscall"
    13  )
    14  
    15  var signalsToIgnore = []os.Signal{os.Interrupt, syscall.SIGQUIT}
    16  
    17  // SignalTrace is the signal to send to make a Go program
    18  // crash with a stack trace.
    19  var SignalTrace os.Signal = syscall.SIGQUIT
    20  

View as plain text