Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for waitForStop (0.13 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/process/internal/WorkerProcessIntegrationTest.groovy

                    serverAction.execute(proc.connection)
                }
                proc.connection.connect()
            }
    
            public void waitForStop() {
                if (startFails) {
                    return
                }
                try {
                    proc.waitForStop()
                    assertFalse("Expected process to fail", stopFails)
                } catch (ExecException e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 20 11:15:22 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/process/internal/worker/DefaultWorkerProcessBuilder.java

            }
    
            @Override
            public ObjectConnection getConnection() {
                return delegate.getConnection();
            }
    
            @Override
            public ExecResult waitForStop() {
                return delegate.waitForStop();
            }
    
            @Override
            public Optional<ExecResult> getExecResult() {
                return delegate.getExecResult();
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:16:16 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  3. pkg/kubelet/cm/dra/plugin/noderesources.go

    		c.run(ctx)
    	}()
    
    	return c
    }
    
    // waitForStop blocks until all background activity spawned by
    // the controller has stopped. The context passed to start must
    // be canceled for that to happen.
    //
    // Not needed at the moment, but if it was, this is what it would
    // look like...
    // func (c *nodeResourcesController) waitForStop() {
    // 	if c == nil {
    // 		return
    // 	}
    //
    // 	c.wg.Wait()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 20:12:53 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  4. subprojects/core/src/testFixtures/groovy/org/gradle/util/internal/MultithreadedTestRule.java

                lock.unlock();
            }
        }
    
        @After
        public void waitForStop() {
            lock.lock();
            try {
                stopped = true;
            } finally {
                lock.unlock();
            }
            waitForAll();
        }
    
        @Override
        protected void after() {
            waitForStop();
        }
    
        /**
         * Returns the meta-info for the given clock tick.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 23.3K bytes
    - Viewed (0)
  5. istioctl/pkg/kubeinject/kubeinject.go

    				return nil, err
    			}
    			if err := f.Start(); err != nil {
    				return nil, err
    			}
    			address = fmt.Sprintf("https://%s%s", f.Address(), *cc.Service.Path)
    			defer func() {
    				f.Close()
    				f.WaitForStop()
    			}()
    		}
    		tlsClientConfig.ServerName = fmt.Sprintf("%s.%s.%s", cc.Service.Name, cc.Service.Namespace, "svc")
    	} else if isMCPAddr(address) {
    		var err error
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 29 02:29:02 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  6. istioctl/pkg/dashboard/dashboard.go

    		ClosePortForwarderOnInterrupt(fw)
    
    		log.Debugf(fmt.Sprintf("port-forward to %s pod ready", flavor))
    		openBrowser(fmt.Sprintf(urlFormat, fw.Address()), writer, browser)
    
    		// Wait for stop
    		fw.WaitForStop()
    
    		return nil
    	}
    
    	return fmt.Errorf("failure running port forward process: %v", err)
    }
    
    func ClosePortForwarderOnInterrupt(fw kube.PortForwarder) {
    	go func() {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 15 01:29:35 UTC 2024
    - 20.5K bytes
    - Viewed (0)
Back to top