Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 178 for Signals (0.31 sec)

  1. src/os/signal/doc.go

    asynchronous signal, a Go signal handler will be installed for that
    signal. If, later, Reset is called for that signal, the original
    handling for that signal will be reinstalled, restoring the non-Go
    signal handler if any.
    
    Go code built without -buildmode=c-archive or -buildmode=c-shared will
    install a signal handler for the asynchronous signals listed above,
    and save any existing signal handler. If a signal is delivered to a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:11:00 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/mkerrors.sh

    	}
    	printf("}\n\n");
    
    	printf("\n\n// Signal table\n");
    	printf("var signalList = [...]struct {\n");
    	printf("\tnum  syscall.Signal\n");
    	printf("\tname string\n");
    	printf("\tdesc string\n");
    	printf("} {\n");
    	qsort(signals, nelem(signals), sizeof signals[0], tuplecmp);
    	for(i=0; i<nelem(signals); i++) {
    		e = signals[i].num;
    		if(i > 0 && signals[i-1].num == e)
    			continue;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  3. src/os/exec_test.go

    	signal.Notify(c, os.Interrupt)
    	defer signal.Stop(c)
    
    	p := &os.Process{Pid: os.Getpid()}
    	if err := p.Signal(os.Interrupt); err != nil {
    		t.Fatalf("Signal got err %v, want nil", err)
    	}
    
    	// Verify we actually received the signal.
    	select {
    	case <-time.After(1 * time.Second):
    		t.Error("timeout waiting for signal")
    	case <-c:
    		// Good
    	}
    }
    
    func TestProcessReleaseTwice(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 18:08:44 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. src/runtime/cpuprof.go

    	log  *profBuf // profile events written here
    
    	// extra holds extra stacks accumulated in addNonGo
    	// corresponding to profiling signals arriving on
    	// non-Go-created threads. Those stacks are written
    	// to log the next time a normal Go thread gets the
    	// signal handler.
    	// Assuming the stacks are 2 words each (we don't get
    	// a full traceback from those threads), plus one word
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  5. 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)
  6. tensorflow/compiler/mlir/quantization/stablehlo/quantization_config.proto

      Method method = 2;
    }
    
    // A series of `QuantizationResult`s. See `QuantizationResult` for details.
    // Next ID: 2
    message QuantizationResults {
      repeated QuantizationResult results = 1;
    }
    
    // Signals per-channel quantization. When dimension is not specified, StableHLO
    // quantizer determines the quantization dimension to be output feature
    // dimension for convolution and first non-batching, non-contracting dimension
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  7. src/syscall/zerrors_solaris_amd64.go

    	SIGIO      = Signal(0x16)
    	SIGIOT     = Signal(0x6)
    	SIGJVM1    = Signal(0x27)
    	SIGJVM2    = Signal(0x28)
    	SIGKILL    = Signal(0x9)
    	SIGLOST    = Signal(0x25)
    	SIGLWP     = Signal(0x21)
    	SIGPIPE    = Signal(0xd)
    	SIGPOLL    = Signal(0x16)
    	SIGPROF    = Signal(0x1d)
    	SIGPWR     = Signal(0x13)
    	SIGQUIT    = Signal(0x3)
    	SIGSEGV    = Signal(0xb)
    	SIGSTOP    = Signal(0x17)
    	SIGSYS     = Signal(0xc)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:52:34 UTC 2024
    - 50.8K bytes
    - Viewed (0)
  8. src/runtime/os_plan9.go

    		return ""
    	}
    	return sigtable[sig].name
    }
    
    const preemptMSupported = false
    
    func preemptM(mp *m) {
    	// Not currently supported.
    	//
    	// TODO: Use a note like we use signals on POSIX OSes
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  9. 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)
  10. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_arm64.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)
Back to top