Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 430 for psignal (0.17 sec)

  1. src/runtime/runtime2.go

    const (
    	_SigNotify   = 1 << iota // let signal.Notify have signal, even if from kernel
    	_SigKill                 // if signal.Notify doesn't take it, exit quietly
    	_SigThrow                // if signal.Notify doesn't take it, exit loudly
    	_SigPanic                // if the signal is from the kernel, panic
    	_SigDefault              // if the signal isn't explicitly requested, don't monitor it
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go

    	SIGTSTP   = syscall.Signal(0x14)
    	SIGTTIN   = syscall.Signal(0x15)
    	SIGTTOU   = syscall.Signal(0x16)
    	SIGURG    = syscall.Signal(0x17)
    	SIGUSR1   = syscall.Signal(0xa)
    	SIGUSR2   = syscall.Signal(0xc)
    	SIGVTALRM = syscall.Signal(0x1a)
    	SIGWINCH  = syscall.Signal(0x1c)
    	SIGXCPU   = syscall.Signal(0x18)
    	SIGXFSZ   = syscall.Signal(0x19)
    )
    
    // Error table
    var errorList = [...]struct {
    	num  syscall.Errno
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/zerrors_zos_s390x.go

    	SIGUSR1   = Signal(16)
    	SIGUSR2   = Signal(17)
    	SIGABND   = Signal(18)
    	SIGCONT   = Signal(19)
    	SIGCHLD   = Signal(20)
    	SIGTTIN   = Signal(21)
    	SIGTTOU   = Signal(22)
    	SIGIO     = Signal(23)
    	SIGQUIT   = Signal(24)
    	SIGTSTP   = Signal(25)
    	SIGTRAP   = Signal(26)
    	SIGIOERR  = Signal(27)
    	SIGWINCH  = Signal(28)
    	SIGXCPU   = Signal(29)
    	SIGXFSZ   = Signal(30)
    	SIGVTALRM = Signal(31)
    	SIGPROF   = Signal(32)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  4. 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")
    	telemetry.CountFlags("test2json/flag:", *flag.CommandLine)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  5. src/runtime/crash_cgo_test.go

    	case "plan9", "windows":
    		t.Skipf("no EINTR on %s", runtime.GOOS)
    	case "linux":
    		if runtime.GOARCH == "386" {
    			// On linux-386 the Go signal handler sets
    			// a restorer function that is not preserved
    			// by the C sigaction call in the test,
    			// causing the signal handler to crash when
    			// returning the normal code. The test is not
    			// architecture-specific, so just skip on 386
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 16:44:47 UTC 2024
    - 22.2K bytes
    - Viewed (1)
  6. staging/src/k8s.io/apiserver/pkg/server/genericapiserver.go

    	return s.delegationTarget
    }
    
    // RegisterMuxAndDiscoveryCompleteSignal registers the given signal that will be used to determine if all known
    // HTTP paths have been registered. It is okay to call this method after instantiating the generic server but before running.
    func (s *GenericAPIServer) RegisterMuxAndDiscoveryCompleteSignal(signalName string, signal <-chan struct{}) error {
    	if _, exists := s.muxAndDiscoveryCompleteSignals[signalName]; exists {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 42.9K bytes
    - Viewed (0)
  7. src/runtime/HACKING.md

    or shrink dynamically.
    
    Every M has a *system stack* associated with it (also known as the M's
    "g0" stack because it's implemented as a stub G) and, on Unix
    platforms, a *signal stack* (also known as the M's "gsignal" stack).
    System and signal stacks cannot grow, but are large enough to execute
    runtime and cgo code (8K in a pure Go binary; system-allocated in a
    cgo binary).
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  8. cmd/service.go

    	serviceFreeze                             // Freeze all S3 API calls.
    	serviceUnFreeze                           // Un-Freeze previously frozen S3 API calls.
    	// Add new service requests here.
    )
    
    // Global service signal channel.
    var globalServiceSignalCh = make(chan serviceSignal)
    
    // GlobalContext context that is canceled when server is requested to shut down.
    // cancelGlobalContext can be used to indicate server shutdown.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Feb 28 07:02:14 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. istioctl/pkg/dashboard/dashboard.go

    	}
    
    	return fmt.Errorf("failure running port forward process: %v", err)
    }
    
    func ClosePortForwarderOnInterrupt(fw kube.PortForwarder) {
    	go func() {
    		signals := make(chan os.Signal, 1)
    		signal.Notify(signals, os.Interrupt)
    		defer signal.Stop(signals)
    		<-signals
    		fw.Close()
    	}()
    }
    
    func openBrowser(url string, writer io.Writer, browser bool) {
    	var err error
    
    	fmt.Fprintf(writer, "%s\n", url)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 15 01:29:35 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  10. src/runtime/preempt.go

    //
    // (An alternative would be to preempt in the signal handler itself.
    // This would let the OS save and restore the register state and the
    // runtime would only need to know how to extract potentially
    // pointer-containing registers from the signal context. However, this
    // would consume an M for every preempted G, and the scheduler itself
    // is not designed to run from a signal handler, as it tends to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 15.1K bytes
    - Viewed (0)
Back to top