Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,822 for waits (0.13 sec)

  1. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/apf_context.go

    // initialization signals.
    type InitializationSignal interface {
    	// Signal notifies the dispatcher about finished initialization.
    	Signal()
    	// Wait waits for the initialization signal.
    	Wait()
    }
    
    type initializationSignal struct {
    	once sync.Once
    	done chan struct{}
    }
    
    func NewInitializationSignal() InitializationSignal {
    	return &initializationSignal{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 14 14:39:15 UTC 2021
    - 2.9K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/server/routes/debugsocket.go

    	s.mux.HandleFunc("/debug/flags", f.Index)
    	s.mux.HandleFunc("/debug/flags/", f.Index)
    
    	url := path.Join("/debug/flags", flag)
    	s.mux.HandleFunc(url, handler)
    
    	f.addFlag(flag)
    }
    
    // Run starts the server and waits for stopCh to be closed to close the server.
    func (s *DebugSocket) Run(stopCh <-chan struct{}) error {
    	if err := os.Remove(s.path); err != nil && !os.IsNotExist(err) {
    		return fmt.Errorf("failed to remove (%v): %v", s.path, err)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 08 00:33:16 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/ServiceManager.java

        }
        return this;
      }
    
      /**
       * Waits for the all the services to reach a terminal state. After this method returns all
       * services will either be {@linkplain Service.State#TERMINATED terminated} or {@linkplain
       * Service.State#FAILED failed}.
       */
      public void awaitStopped() {
        state.awaitStopped();
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 12:41:16 UTC 2024
    - 33K bytes
    - Viewed (0)
  4. pkg/envoy/agent.go

    type exitStatus struct {
    	err error
    }
    
    // Run starts the envoy and waits until it terminates.
    // There are a few exit paths:
    //  1. Envoy exits. In this case, we simply log and exit.
    //  2. /quitquitquit (on agent, not Envoy) is called. We will set skipDrain and cancel the context, which triggers us to exit immediately.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 24 16:04:22 UTC 2024
    - 9K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/continuous/ContinuousBuildGateIntegrationTest.groovy

            and:
            // command the gate keeper to open the gate and shutdown
            command.releaseAll()
            server.expect(server.get("command").send("stop"))
            then:
            // waits for build to start and finish
            buildTriggeredAndSucceeded()
            // Change has been incorporated
            outputFile.text == "changed"
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  6. pkg/proxy/config/config.go

    func (c *EndpointSliceConfig) RegisterEventHandler(handler EndpointSliceHandler) {
    	c.eventHandlers = append(c.eventHandlers, handler)
    }
    
    // Run waits for cache synced and invokes handlers after syncing.
    func (c *EndpointSliceConfig) Run(stopCh <-chan struct{}) {
    	c.logger.Info("Starting endpoint slice config controller")
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  7. src/runtime/semasleep_test.go

    		if waiting {
    			<-doneCh
    		} else {
    			cmd.Wait()
    		}
    	})
    
    	// Wait for After1 to close its stdout so that we know the runtime's SIGIO
    	// handler is registered.
    	b, err := io.ReadAll(stdout)
    	if len(b) > 0 {
    		t.Logf("read from testprog stdout: %s", b)
    	}
    	if err != nil {
    		t.Fatalf("error reading from testprog: %v", err)
    	}
    
    	// Wait for child exit.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 06 17:48:24 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/deployment/internal/DefaultDeploymentRegistryTest.groovy

            when:
            registry.stop()
            then:
            1 * pendingChangesManager.removeListener(_)
        }
    
        def "can start a deployment with a given type and parameters and continuous build waits"() {
            def testHandle = new ParametersDeploymentHandle("parameter")
            objectFactory.newInstance(ParametersDeploymentHandle, "parameter") >> testHandle
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/watch/filter.go

    func (fw *filteredWatch) ResultChan() <-chan Event {
    	return fw.result
    }
    
    // Stop stops the upstream watch, which will eventually stop this watch.
    func (fw *filteredWatch) Stop() {
    	fw.incoming.Stop()
    }
    
    // loop waits for new values, filters them, and resends them.
    func (fw *filteredWatch) loop() {
    	defer close(fw.result)
    	for event := range fw.incoming.ResultChan() {
    		filtered, keep := fw.f(event)
    		if keep {
    			fw.result <- filtered
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  10. src/runtime/cgo/libcgo.h

     */
    extern uintptr_t *_cgo_pthread_key_created;
    
    /*
     * Creates the new operating system thread (OS, arch dependent).
     */
    void _cgo_sys_thread_start(ThreadStart *ts);
    
    /*
     * Waits for the Go runtime to be initialized (OS dependent).
     * If runtime.SetCgoTraceback is used to set a context function,
     * calls the context function and returns the context value.
     */
    uintptr_t _cgo_wait_runtime_init_done(void);
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 13 20:50:04 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top