Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for signal_ignored (0.29 sec)

  1. src/runtime/sigqueue.go

    //go:nosplit
    func sigInitIgnored(s uint32) {
    	i := sig.ignored[s/32]
    	i |= 1 << (s & 31)
    	atomic.Store(&sig.ignored[s/32], i)
    }
    
    // Checked by signal handlers.
    //
    //go:linkname signal_ignored os/signal.signal_ignored
    func signal_ignored(s uint32) bool {
    	i := atomic.Load(&sig.ignored[s/32])
    	return i&(1<<(s&31)) != 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. src/os/signal/signal.go

    func Ignore(sig ...os.Signal) {
    	cancel(sig, ignoreSignal)
    }
    
    // Ignored reports whether sig is currently ignored.
    func Ignored(sig os.Signal) bool {
    	sn := signum(sig)
    	return sn >= 0 && signalIgnored(sn)
    }
    
    var (
    	// watchSignalLoopOnce guards calling the conditionally
    	// initialized watchSignalLoop. If watchSignalLoop is non-nil,
    	// it will be run in a goroutine lazily once Notify is invoked.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 8.3K bytes
    - Viewed (0)
Back to top