Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for shuttingDown (0.16 sec)

  1. pilot/pkg/xds/discovery.go

    			// This limits the number of pushes that can happen concurrently
    			semaphore <- struct{}{}
    
    			// Get the next proxy to push. This will block if there are no updates required.
    			client, push, shuttingdown := queue.Dequeue()
    			if shuttingdown {
    				return
    			}
    			recordPushTriggers(push.Reason)
    			// Signals that a push is done by reading from the semaphore, allowing another send on it.
    			doneFunc := func() {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 20:21:09 UTC 2024
    - 19K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/watch.go

    	}
    
    	var serverShuttingDownCh <-chan struct{}
    	if signals := apirequest.ServerShutdownSignalFrom(req.Context()); signals != nil {
    		serverShuttingDownCh = signals.ShuttingDown()
    	}
    
    	server := &WatchServer{
    		Watching: watcher,
    		Scope:    scope,
    
    		UseTextFraming:  useTextFraming,
    		MediaType:       mediaType,
    		Framer:          framer,
    		Encoder:         encoder,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 14 16:37:25 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/server/genericapiserver_graceful_termination_test.go

    		// this simulates a watch well enough for our test
    		signals := apirequest.ServerShutdownSignalFrom(req.Context())
    		if signals == nil {
    			w.WriteHeader(http.StatusInternalServerError)
    			return
    		}
    		<-signals.ShuttingDown()
    		w.WriteHeader(http.StatusOK)
    	})
    	s.Handler.NonGoRestfulMux.Handle("/apis/watches.group/v1/namespaces/foo/bar", handler)
    	return inflight
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 38.3K bytes
    - Viewed (0)
  4. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

          TF_EXCLUSIVE_LOCKS_REQUIRED(execution_mutex_);
    
      enum class ExecutionState {
        kReadyToExecute,
        kHasResult,
        kIdle,
        kShuttingDown,
      };
    
      tensorflow::mutex execution_mutex_;
      ExecutionState execution_state_ TF_GUARDED_BY(execution_mutex_) =
          ExecutionState::kIdle;
      // Tells the worker thread that there is new work.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 09 07:47:20 UTC 2024
    - 25.4K bytes
    - Viewed (0)
Back to top