Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 129 for signal (0.34 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)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/Monitor.java

       * signal the first active guard that is satisfied. But the corresponding thread may have already
       * been interrupted and is waiting to reacquire the lock while still registered in activeGuards,
       * in which case the signal is a no-op, and the bigger-picture signal is lost unless interrupted
       * threads take special action by participating in the signal-passing game.
       */
    
      /*
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 18:22:01 GMT 2023
    - 38.6K bytes
    - Viewed (0)
  3. okhttp/src/main/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.
     *
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  4. cmd/leak-detect_test.go

    	"created by runtime.gc",
    	// ignore the snapshot function.
    	// since the snapshot is taken here the entry will have the current function too.
    	"pickRelevantGoroutines",
    	"runtime.MHeap_Scavenger",
    	"signal.signal_recv",
    	"sigterm.handler",
    	"runtime_mcall",
    	"goroutine in C code",
    }
    
    // Identify whether the stack trace entry is part of ignoredStackFn .
    func isIgnoredStackFn(stack string) (ok bool) {
    	ok = true
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/Dispatcher.kt

          }
        }
    
        return isRunning
      }
    
      /** Used by [Call.execute] to signal it is in-flight. */
      internal fun executed(call: RealCall) =
        this.withLock {
          runningSyncCalls.add(call)
        }
    
      /** Used by [AsyncCall.run] to signal completion. */
      internal fun finished(call: AsyncCall) {
        call.callsPerHost.decrementAndGet()
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 9K bytes
    - Viewed (0)
  6. 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)
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Apr 15 01:29:35 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  7. cni/pkg/util/podutil_test.go

    			args: args{
    				namespace: namespaceWithAmbientEnabledLabel,
    				pod:       podWithSidecar,
    			},
    			want: false,
    		},
    		// TODO: when there exists a means for users to signal the intent to exclude a pod from ambient without requiring the use of
    		// the ambient redirection annotation, this annotation should no longer be checked by this function and this case should return 'true'
    		{
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed May 01 18:04:40 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  8. cmd/admin-heal-ops.go

    }
    
    // traverseAndHeal - traverses on-disk data and performs healing
    // according to settings. At each "safe" point it also checks if an
    // external quit signal has been received and quits if so. Since the
    // healing traversal may be mutating on-disk data when an external
    // quit signal is received, this routine cannot quit immediately and
    // has to wait until a safe point is reached, such as between scanning
    // two objects.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.1K bytes
    - Viewed (1)
  9. okhttp/src/main/kotlin/okhttp3/internal/http/ExchangeCodec.kt

      fun writeRequestHeaders(request: Request)
    
      /** Flush the request to the underlying socket. */
      @Throws(IOException::class)
      fun flushRequest()
    
      /** Flush the request to the underlying socket and signal no more bytes will be transmitted. */
      @Throws(IOException::class)
      fun finishRequest()
    
      /**
       * Parses bytes of a response header from an HTTP transport.
       *
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3K bytes
    - Viewed (0)
  10. common-protos/k8s.io/apimachinery/pkg/apis/testapigroup/v1/generated.proto

      // If this value is nil, the default grace period will be used instead.
      // The grace period is the duration in seconds after the processes running in the carp are sent
      // a termination signal and the time when the processes are forcibly halted with a kill signal.
      // Set this value longer than the expected cleanup time for your process.
      // Defaults to 30 seconds.
      // +optional
      optional int64 terminationGracePeriodSeconds = 4;
    
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 7.7K bytes
    - Viewed (0)
Back to top