Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Wignall (0.23 sec)

  1. misc/go_android_exec/main.go

    		return 0, err
    	}
    
    	// Forward SIGQUIT from the go command to show backtraces from
    	// the binary instead of from this wrapper.
    	quit := make(chan os.Signal, 1)
    	signal.Notify(quit, syscall.SIGQUIT)
    	go func() {
    		for range quit {
    			// We don't have the PID of the running process; use the
    			// binary name instead.
    			adb("exec-out", "killall -QUIT "+binName)
    		}
    	}()
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  2. cni/cmd/install-cni/main.go

    package main
    
    import (
    	"context"
    	"os"
    	"os/signal"
    	"syscall"
    
    	"istio.io/istio/cni/pkg/cmd"
    	"istio.io/istio/pkg/log"
    )
    
    func main() {
    	// Create context that cancels on termination signal
    	ctx, cancel := context.WithCancel(context.Background())
    	sigChan := make(chan os.Signal, 1)
    	signal.Notify(sigChan, os.Interrupt, syscall.SIGTERM)
    	go func(sigChan chan os.Signal, cancel context.CancelFunc) {
    		sig := <-sigChan
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue May 23 17:08:31 GMT 2023
    - 1.2K bytes
    - Viewed (0)
Back to top