Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,157 for bgwait (0.11 sec)

  1. src/cmd/dist/util.go

    	bgwork <- func() {
    		defer wg.Done()
    		run(dir, CheckExit|ShowOutput|Background, cmd...)
    	}
    }
    
    // bgwait waits for pending bgruns to finish.
    // bgwait must be called from only a single goroutine at a time.
    func bgwait(wg *sync.WaitGroup) {
    	done := make(chan struct{})
    	go func() {
    		wg.Wait()
    		close(done)
    	}()
    	select {
    	case <-done:
    	case <-dying:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 23 17:50:29 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  2. src/cmd/dist/build.go

    		link = append(link, b)
    		if doclean {
    			clean = append(clean, b)
    		}
    	}
    	bgwait(&wg)
    
    	if ispackcmd {
    		xremove(link[targ])
    		dopack(link[targ], archive, link[targ+1:])
    		return
    	}
    
    	// Remove target before writing it.
    	xremove(link[targ])
    	bgrun(&wg, "", link...)
    	bgwait(&wg)
    }
    
    // packagefile returns the path to a compiled .a file for the given package
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:40 UTC 2024
    - 54K bytes
    - Viewed (0)
  3. operator/pkg/helmreconciler/wait.go

    	"k8s.io/apimachinery/pkg/labels"
    	"k8s.io/apimachinery/pkg/util/wait"
    	"k8s.io/client-go/kubernetes"
    	kctldeployment "k8s.io/kubectl/pkg/util/deployment"
    
    	"istio.io/istio/operator/pkg/name"
    	"istio.io/istio/operator/pkg/object"
    	"istio.io/istio/operator/pkg/util/progress"
    	"istio.io/istio/pkg/kube"
    )
    
    const (
    	// defaultWaitResourceTimeout is the maximum wait time for all resources(namespace/deployment/pod) to be created.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 08 03:13:12 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  4. pilot/cmd/pilot-agent/app/wait.go

    	waitCmd.PersistentFlags().IntVar(&timeoutSeconds, "timeoutSeconds", 60, "maximum number of seconds to wait for Envoy to be ready")
    	waitCmd.PersistentFlags().IntVar(&requestTimeoutMillis, "requestTimeoutMillis", 500, "number of milliseconds to wait for response")
    	waitCmd.PersistentFlags().IntVar(&periodMillis, "periodMillis", 500, "number of milliseconds to wait between attempts")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  5. docs/en/docs/js/termynal.js

                }
    
                else if (type == 'progress') {
                    await this.progress(line);
                    await this._wait(delay);
                }
    
                else {
                    this.container.appendChild(line);
                    await this._wait(delay);
                }
    
                line.removeAttribute(`${this.pfx}-cursor`);
            }
            this.addRestart()
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 12 00:06:16 UTC 2022
    - 9.3K bytes
    - Viewed (0)
  6. istioctl/pkg/wait/wait.go

      istioctl experimental wait --for=distribution virtualservice bookinfo.default
    
      # Wait until the bookinfo virtual service has been distributed to a specific proxy
      istioctl experimental wait --for=distribution virtualservice bookinfo.default --proxy workload-instance.namespace
    
      # Wait until 99% of the proxies receive the distribution, timing out after 5 minutes
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Feb 17 12:24:17 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/util/wait/wait.go

    // NeverStop may be passed to Until to make it never stop.
    var NeverStop <-chan struct{} = make(chan struct{})
    
    // Group allows to start a group of goroutines and wait for their completion.
    type Group struct {
    	wg sync.WaitGroup
    }
    
    func (g *Group) Wait() {
    	g.wg.Wait()
    }
    
    // StartWithChannel starts f in a new goroutine in the group.
    // stopCh is passed to f as an argument. f should stop when stopCh is available.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 19:14:11 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  8. src/internal/trace/testdata/testprog/wait-on-pipe.go

    	time.Sleep(100 * time.Millisecond)
    
    	// Write to the pipe to unblock it.
    	if _, err := syscall.Write(wfd, []byte{10}); err != nil {
    		log.Fatalf("failed to write to pipe: %v", err)
    	}
    
    	// Wait for the goroutine to unblock and start running.
    	// This is helpful to catch incorrect information written
    	// down for the syscall-blocked goroutine, since it'll start
    	// executing, and that execution information will be
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/util/apiclient/wait.go

    	return nil
    }
    
    // WaitForPodsWithLabel will lookup pods with the given label and wait until they are all
    // reporting status as running.
    func (w *KubeWaiter) WaitForPodsWithLabel(kvLabel string) error {
    
    	lastKnownPodNumber := -1
    	return wait.PollUntilContextTimeout(context.Background(),
    		constants.KubernetesAPICallRetryInterval, w.timeout,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java

            executor.execute(wrapper);
          }
          barrier.await(); // release the threads!
          barrier.await(); // wait for them all to complete
          assertEquals(1, task.get().intValue());
          assertEquals(1, counter.get());
        }
        executor.shutdown();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // blocking wait
      public void testToString() throws Exception {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top