Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 474 for waitc (0.05 sec)

  1. cmd/kubeadm/app/util/apiclient/wait.go

    	// WaitForAPI waits for the API Server's /healthz endpoint to become "ok"
    	// TODO: remove WaitForAPI once WaitForAllControlPlaneComponents goes GA:
    	// https://github.com/kubernetes/kubeadm/issues/2907
    	WaitForAPI() error
    	// WaitForPodsWithLabel waits for Pods in the kube-system namespace to become Ready
    	WaitForPodsWithLabel(kvLabel string) error
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. 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)
  3. src/runtime/lock_sema.go

    	// to the caller.
    	// This reduces the nosplit footprint of notetsleep_internal.
    	gp = getg()
    
    	// Register for wakeup on n->waitm.
    	if !atomic.Casuintptr(&n.key, 0, uintptr(unsafe.Pointer(gp.m))) {
    		// Must be locked (got wakeup).
    		if n.key != locked {
    			throw("notetsleep - waitm out of sync")
    		}
    		return true
    	}
    	if ns < 0 {
    		// Queued. Sleep.
    		gp.m.blocked = true
    		if *cgo_yield == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  4. src/os/exec_unix.go

    	}
    
    	// If we can block until Wait4 will succeed immediately, do so.
    	ready, err := p.blockUntilWaitable()
    	if err != nil {
    		return nil, err
    	}
    	if ready {
    		// Mark the process done now, before the call to Wait4,
    		// so that Process.pidSignal will not send a signal.
    		p.pidDeactivate(statusDone)
    		// Acquire a write lock on sigMu to wait for any
    		// active call to the signal method to complete.
    		p.sigMu.Lock()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. src/os/exec/exec.go

    //
    // If any of c.Stdin, c.Stdout or c.Stderr are not an [*os.File], Wait also waits
    // for the respective I/O loop copying to or from the process to complete.
    //
    // Wait releases any resources associated with the [Cmd].
    func (c *Cmd) Wait() error {
    	if c.Process == nil {
    		return errors.New("exec: not started")
    	}
    	if c.ProcessState != nil {
    		return errors.New("exec: Wait was already called")
    	}
    
    	state, err := c.Process.Wait()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  6. pkg/kubelet/volumemanager/volume_manager.go

    )
    
    const (
    	// reconcilerLoopSleepPeriod is the amount of time the reconciler loop waits
    	// between successive executions
    	reconcilerLoopSleepPeriod = 100 * time.Millisecond
    
    	// desiredStateOfWorldPopulatorLoopSleepPeriod is the amount of time the
    	// DesiredStateOfWorldPopulator loop waits between successive executions
    	desiredStateOfWorldPopulatorLoopSleepPeriod = 100 * time.Millisecond
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  7. pkg/kube/client.go

    	ObjectFilter() kubetypes.DynamicObjectFilter
    
    	// RunAndWait starts all informers and waits for their caches to sync.
    	// Warning: this must be called AFTER .Informer() is called, which will register the informer.
    	// "false" is returned if this prematurely exited without syncing.
    	RunAndWait(stop <-chan struct{}) bool
    
    	// WaitForCacheSync waits for all cache functions to sync, as well as all informers started by the *fake* client.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 14:44:17 UTC 2024
    - 39K bytes
    - Viewed (0)
  8. 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)
  9. pkg/kubelet/volume_host.go

    	}
    
    	synced := []cache.InformerSynced{kvh.csiDriversSynced}
    	if !cache.WaitForCacheSync(wait.NeverStop, synced...) {
    		klog.InfoS("Failed to wait for cache sync for CSIDriverLister")
    		return fmt.Errorf("failed to wait for cache sync for CSIDriverLister")
    	}
    
    	return nil
    }
    
    func (kvh *kubeletVolumeHost) NewWrapperMounter(
    	volName string,
    	spec volume.Spec,
    	pod *v1.Pod,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 11:00:37 UTC 2024
    - 10K bytes
    - Viewed (0)
  10. src/sync/waitgroup.go

    package sync
    
    import (
    	"internal/race"
    	"sync/atomic"
    	"unsafe"
    )
    
    // A WaitGroup waits for a collection of goroutines to finish.
    // The main goroutine calls [WaitGroup.Add] to set the number of
    // goroutines to wait for. Then each of the goroutines
    // runs and calls [WaitGroup.Done] when finished. At the same time,
    // [WaitGroup.Wait] can be used to block until all goroutines have finished.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top