Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 536 for waitc (0.07 sec)

  1. 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)
  2. 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)
  3. releasenotes/notes/wait-when-distribution-tracing-disabled.yaml

    apiVersion: release-notes/v2
    kind: bug-fix
    area: istioctl
    releaseNotes:
      - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 17 03:43:40 UTC 2023
    - 212 bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/storage/cacher/ready.go

    	if ok && r.state == Pending {
    		r.state = Ready
    		r.generation++
    		select {
    		case <-r.waitCh:
    		default:
    			close(r.waitCh)
    		}
    	} else if !ok && r.state == Ready {
    		// creating the waitCh can be racy if
    		// something enter the wait() method
    		select {
    		case <-r.waitCh:
    			r.restartLock.Lock()
    			r.waitCh = make(chan struct{})
    			r.restartLock.Unlock()
    		default:
    		}
    		r.state = Pending
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 16 13:32:11 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  5. 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)
  6. pkg/kubelet/kuberuntime/kuberuntime_termination_order.go

    	// sidecar containers need to wait on main containers, so we create a channel per main container
    	// for them to wait on
    	for _, c := range pod.Spec.Containers {
    		channel := make(chan struct{})
    		to.terminated[c.Name] = channel
    		mainContainerChannels = append(mainContainerChannels, channel)
    
    		// if its not a running container, pre-close the channel so nothing waits on it
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 18 00:07:21 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  7. src/os/wait_unimp.go

    // aix, darwin, js/wasm, openbsd, solaris and wasip1/wasm don't implement
    // waitid/wait6.
    
    //go:build aix || darwin || (js && wasm) || openbsd || solaris || wasip1
    
    package os
    
    // blockUntilWaitable attempts to block until a call to p.Wait will
    // succeed immediately, and reports whether it has done so.
    // It does not actually call p.Wait.
    // This version is used on systems that do not implement waitid,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 13:16:52 UTC 2023
    - 831 bytes
    - Viewed (0)
  8. src/cmd/go/internal/lockedfile/lockedfile_test.go

    	cmd.Env = append(os.Environ(), fmt.Sprintf("%s=%s", dirVar, dir))
    
    	qDone := make(chan struct{})
    	waitQ := mustBlock(t, "Edit A and B in subprocess", func() {
    		out, err := cmd.CombinedOutput()
    		if err != nil {
    			t.Errorf("%v:\n%s", err, out)
    		}
    		close(qDone)
    	})
    
    	// Wait until process Q has either failed or locked file B.
    	// Otherwise, P.2 might not block on file B as intended.
    locked:
    	for {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:29 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/testing/v2/kms_plugin_mock.go

    		t.Fatalf("failed to start KMS plugin: err: %v", err)
    	}
    	return result
    }
    
    // waitForBase64PluginToBeUp waits until the plugin is ready to serve requests.
    func waitForBase64PluginToBeUp(plugin *Base64Plugin) error {
    	var gRPCErr error
    	var resp *kmsapi.StatusResponse
    	pollErr := wait.PollImmediate(1*time.Second, wait.ForeverTestTimeout, func() (bool, error) {
    		resp, gRPCErr = plugin.Status(context.Background(), &kmsapi.StatusRequest{})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 21 19:25:52 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  10. 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)
Back to top