Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 920 for SIGNAL (0.14 sec)

  1. src/runtime/signal_solaris.go

    	/* 56 */ {_SigNotify, "real time signal"},
    	/* 57 */ {_SigNotify, "real time signal"},
    	/* 58 */ {_SigNotify, "real time signal"},
    	/* 59 */ {_SigNotify, "real time signal"},
    	/* 60 */ {_SigNotify, "real time signal"},
    	/* 61 */ {_SigNotify, "real time signal"},
    	/* 62 */ {_SigNotify, "real time signal"},
    	/* 63 */ {_SigNotify, "real time signal"},
    	/* 64 */ {_SigNotify, "real time signal"},
    	/* 65 */ {_SigNotify, "real time signal"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 20:27:15 UTC 2019
    - 4.5K bytes
    - Viewed (0)
  2. src/os/signal/example_test.go

    import (
    	"fmt"
    	"os"
    	"os/signal"
    )
    
    func ExampleNotify() {
    	// Set up channel on which to send signal notifications.
    	// We must use a buffered channel or risk missing the signal
    	// if we're not ready to receive when the signal is sent.
    	c := make(chan os.Signal, 1)
    	signal.Notify(c, os.Interrupt)
    
    	// Block until a signal is received.
    	s := <-c
    	fmt.Println("Got signal:", s)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 01 18:38:23 UTC 2017
    - 1001 bytes
    - Viewed (0)
  3. src/runtime/sigtab_aix.go

    	43:          {_SigNotify, "signal 43"},
    	44:          {_SigNotify, "signal 44"},
    	45:          {_SigNotify, "signal 45"},
    	46:          {_SigNotify, "signal 46"},
    	47:          {_SigNotify, "signal 47"},
    	48:          {_SigNotify, "signal 48"},
    	49:          {_SigNotify, "signal 49"},
    	50:          {_SigNotify, "signal 50"},
    	51:          {_SigNotify, "signal 51"},
    	52:          {_SigNotify, "signal 52"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 03 20:58:16 UTC 2018
    - 11.3K bytes
    - Viewed (0)
  4. src/internal/fuzz/sys_posix.go

    // receives one of these.
    //
    // Note that Go installs its own signal handlers on startup, so some of these
    // signals may only be received if signal handlers are changed. For example,
    // SIGSEGV is normally transformed into a panic that causes the process to exit
    // with status 2 if not recovered, which we handle as a crash.
    func isCrashSignal(signal os.Signal) bool {
    	switch signal {
    	case
    		syscall.SIGILL,  // illegal instruction
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 12 19:47:40 UTC 2022
    - 4.1K bytes
    - Viewed (0)
  5. src/runtime/sigtab_linux_generic.go

    	/* 40 */ {_SigNotify, "signal 40"},
    	/* 41 */ {_SigNotify, "signal 41"},
    	/* 42 */ {_SigNotify, "signal 42"},
    	/* 43 */ {_SigNotify, "signal 43"},
    	/* 44 */ {_SigNotify, "signal 44"},
    	/* 45 */ {_SigNotify, "signal 45"},
    	/* 46 */ {_SigNotify, "signal 46"},
    	/* 47 */ {_SigNotify, "signal 47"},
    	/* 48 */ {_SigNotify, "signal 48"},
    	/* 49 */ {_SigNotify, "signal 49"},
    	/* 50 */ {_SigNotify, "signal 50"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 3.5K bytes
    - Viewed (0)
  6. src/runtime/signal_unix.go

    		flags = sigtable[sig].flags
    	}
    
    	// If the signal is ignored, raising the signal is no-op.
    	if handler == _SIG_IGN || (handler == _SIG_DFL && flags&_SigIgn != 0) {
    		return
    	}
    
    	// Reset the signal handler and raise the signal.
    	// We are currently running inside a signal handler, so the
    	// signal is blocked. We need to unblock it before raising the
    	// signal, or the signal we raise will be ignored until we return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 16:04:54 UTC 2024
    - 45K bytes
    - Viewed (0)
  7. src/runtime/runtime-gdb_unix_test.go

    	if err != nil {
    		t.Fatalf("gdb exited with error: %v", err)
    	}
    
    	// We don't know which thread the fatal signal will land on, but we can still check for basics:
    	//
    	// 1. A frame in the signal handler: runtime.sigtramp
    	// 2. GDB detection of the signal handler: <signal handler called>
    	// 3. A frame before the signal handler: this could be foo, or somewhere in the scheduler
    
    	re := regexp.MustCompile(`#.* runtime\.sigtramp `)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 17 19:05:30 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  8. src/syscall/zerrors_aix_ppc64.go

    	SIGTERM     = Signal(0xf)
    	SIGTRAP     = Signal(0x5)
    	SIGTSTP     = Signal(0x12)
    	SIGTTIN     = Signal(0x15)
    	SIGTTOU     = Signal(0x16)
    	SIGURG      = Signal(0x10)
    	SIGUSR1     = Signal(0x1e)
    	SIGUSR2     = Signal(0x1f)
    	SIGVIRT     = Signal(0x25)
    	SIGVTALRM   = Signal(0x22)
    	SIGWAITING  = Signal(0x27)
    	SIGWINCH    = Signal(0x1c)
    	SIGXCPU     = Signal(0x18)
    	SIGXFSZ     = Signal(0x19)
    )
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 16:18:12 UTC 2019
    - 47.2K bytes
    - Viewed (0)
  9. src/runtime/sigqueue_plan9.go

    		notetsleepg(&sig.note, -1)
    	}
    }
    
    // signalWaitUntilIdle waits until the signal delivery mechanism is idle.
    // This is used to ensure that we do not drop a signal notification due
    // to a race between disabling a signal and receiving a signal.
    // This assumes that signal delivery has already been disabled for
    // the signal(s) in question, and here we are just waiting to make sure
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:54:15 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/sigchanyzer/doc.go

    // misuse of unbuffered signal as argument to signal.Notify.
    //
    // # Analyzer sigchanyzer
    //
    // sigchanyzer: check for unbuffered channel of os.Signal
    //
    // This checker reports call expression of the form
    //
    //	signal.Notify(c <-chan os.Signal, sig ...os.Signal),
    //
    // where c is an unbuffered channel, which can be at risk of missing the signal.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 01:28:01 UTC 2023
    - 585 bytes
    - Viewed (0)
Back to top