Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for signal_ignored (0.32 sec)

  1. src/os/signal/signal_plan9.go

    }
    
    func enableSignal(sig int) {
    	signal_enable(uint32(sig))
    }
    
    func disableSignal(sig int) {
    	signal_disable(uint32(sig))
    }
    
    func ignoreSignal(sig int) {
    	signal_ignore(uint32(sig))
    }
    
    func signalIgnored(sig int) bool {
    	return signal_ignored(uint32(sig))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 01 23:55:34 UTC 2020
    - 1K bytes
    - Viewed (0)
  2. src/os/signal/signal_unix.go

    }
    
    func enableSignal(sig int) {
    	signal_enable(uint32(sig))
    }
    
    func disableSignal(sig int) {
    	signal_disable(uint32(sig))
    }
    
    func ignoreSignal(sig int) {
    	signal_ignore(uint32(sig))
    }
    
    func signalIgnored(sig int) bool {
    	return signal_ignored(uint32(sig))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 07 23:34:21 UTC 2023
    - 1K bytes
    - Viewed (0)
  3. src/runtime/sigqueue_plan9.go

    func signal_disable(s uint32) {
    }
    
    // Must only be called from a single goroutine at a time.
    //
    //go:linkname signal_ignore os/signal.signal_ignore
    func signal_ignore(s uint32) {
    }
    
    //go:linkname signal_ignored os/signal.signal_ignored
    func signal_ignored(s uint32) bool {
    	return false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:54:15 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  4. 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)
  5. src/runtime/signal_unix.go

    // implement profiling at a rate of hz.
    // No changes required on Unix systems when using setitimer.
    func setThreadCPUProfilerHz(hz int32) {
    	getg().m.profilehz = hz
    }
    
    func sigpipe() {
    	if signal_ignored(_SIGPIPE) || sigsend(_SIGPIPE) {
    		return
    	}
    	dieFromSignal(_SIGPIPE)
    }
    
    // doSigPreempt handles a preemption signal on gp.
    func doSigPreempt(gp *g, ctxt *sigctxt) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 16:04:54 UTC 2024
    - 45K bytes
    - Viewed (0)
  6. 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