Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ignoreSignal (0.19 sec)

  1. src/runtime/signal_unix.go

    			setsig(sig, atomic.Loaduintptr(&fwdSig[sig]))
    		}
    	}
    }
    
    // sigignore ignores the signal sig.
    // It is only called while holding the os/signal.handlers lock,
    // via os/signal.ignoreSignal and signal_ignore.
    func sigignore(sig uint32) {
    	if sig >= uint32(len(sigtable)) {
    		return
    	}
    
    	// SIGPROF is handled specially for profiling.
    	if sig == _SIGPROF {
    		return
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 16:04:54 UTC 2024
    - 45K bytes
    - Viewed (0)
  2. src/cmd/test2json/main.go

    )
    
    func usage() {
    	fmt.Fprintf(os.Stderr, "usage: go tool test2json [-p pkg] [-t] [./pkg.test -test.v]\n")
    	os.Exit(2)
    }
    
    // ignoreSignals ignore the interrupt signals.
    func ignoreSignals() {
    	signal.Ignore(signalsToIgnore...)
    }
    
    func main() {
    	telemetry.Start()
    
    	flag.Usage = usage
    	flag.Parse()
    	telemetry.Inc("test2json/invocations")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 5.1K bytes
    - Viewed (0)
Back to top