Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 316 for signal (0.04 sec)

  1. cmd/signals.go

    			exit(stopProcess())
    		case osSignal := <-globalOSSignalCh:
    			logger.Info("Exiting on signal: %s", strings.ToUpper(osSignal.String()))
    			daemon.SdNotify(false, daemon.SdNotifyStopping)
    			exit(stopProcess())
    		case signal := <-globalServiceSignalCh:
    			switch signal {
    			case serviceRestart:
    				logger.Info("Restarting on service signal")
    				daemon.SdNotify(false, daemon.SdNotifyReloading)
    Registered: 2025-05-25 19:28
    - Last Modified: 2024-09-04 17:02
    - 3.2K 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
    Registered: 2025-05-28 22:53
    - Last Modified: 2023-05-23 17:08
    - 1.2K bytes
    - Viewed (0)
  3. api/go1.18.txt

    pkg syscall (freebsd-386-cgo), type SysProcAttr struct, Pdeathsig Signal
    pkg syscall (freebsd-amd64), type SysProcAttr struct, Pdeathsig Signal
    pkg syscall (freebsd-amd64-cgo), type SysProcAttr struct, Pdeathsig Signal
    pkg syscall (freebsd-arm), type SysProcAttr struct, Pdeathsig Signal
    pkg syscall (freebsd-arm-cgo), type SysProcAttr struct, Pdeathsig Signal
    Registered: 2025-05-27 11:13
    - Last Modified: 2023-02-17 20:31
    - 13K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/InternersTest.java

        Interner<Integer> pool = Interners.newWeakInterner();
        assertSame(canonical, pool.intern(canonical));
    
        WeakReference<Integer> signal = new WeakReference<>(canonical);
        canonical = null; // Hint to the JIT that canonical is unreachable
    
        GcFinalization.awaitClear(signal);
        assertSame(not, pool.intern(not));
      }
    
      public void testAsFunction_simplistic() {
        String canonical = "a";
    Registered: 2025-05-30 12:43
    - Last Modified: 2024-12-19 18:03
    - 4K bytes
    - Viewed (0)
  5. architecture/ambient/ztunnel-cni-lifecycle.md

    Note this is done while the Pod is running, unlike the CNI plugin flow which occurs before the Pod starts.
    
    Once the network is configured, the CNI Agent will signal to Ztunnel to start running within the Pod.
    This is done by the [ZDS](../../pkg/zdsapi/zds.proto) API.
    This will send some identifying information about the Pod to Ztunnel, and, importantly, the Pod's network namespace file descriptor.
    Registered: 2025-05-28 22:53
    - Last Modified: 2024-07-17 23:10
    - 9.4K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt

     * responses coming back in. Typically interceptors add, remove, or transform headers on the request
     * or response.
     *
     * Implementations of this interface throw [IOException] to signal connectivity failures. This
     * includes both natural exceptions such as unreachable servers, as well as synthetic exceptions
     * when responses are of an unexpected type or cannot be decoded.
     *
    Registered: 2025-05-30 11:42
    - Last Modified: 2024-12-27 13:39
    - 3.5K bytes
    - Viewed (0)
  7. 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)
    		}
    	}()
    Registered: 2025-05-27 11:13
    - Last Modified: 2023-08-21 17:46
    - 15.3K bytes
    - Viewed (0)
  8. 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: 2025-05-28 22:53
    - Last Modified: 2025-05-22 15:24
    - 21.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/InternersTest.java

        Interner<Integer> pool = Interners.newWeakInterner();
        assertSame(canonical, pool.intern(canonical));
    
        WeakReference<Integer> signal = new WeakReference<>(canonical);
        canonical = null; // Hint to the JIT that canonical is unreachable
    
        GcFinalization.awaitClear(signal);
        assertSame(not, pool.intern(not));
      }
    
      public void testAsFunction_simplistic() {
        String canonical = "a";
    Registered: 2025-05-30 12:43
    - Last Modified: 2024-12-19 18:03
    - 4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/MonitorTestCase.java

      // TODO: Test blocking to re-enter monitor after being signaled.
      // TODO: Test interrupts with both interruptible and uninterruptible monitor.
      // TODO: Test multiple waiters: If guard is still satisfied, signal next waiter.
      // TODO: Test multiple waiters: If guard is no longer satisfied, do not signal next waiter.
    
    Registered: 2025-05-30 12:43
    - Last Modified: 2024-12-19 18:03
    - 8K bytes
    - Viewed (0)
Back to top