Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 350 for waitms (0.1 sec)

  1. istioctl/pkg/util/common.go

    type CommandParseError struct {
    	Err error
    }
    
    func (c CommandParseError) Error() string {
    	return c.Err.Error()
    }
    
    // Confirm waits for a user to confirm with the supplied message.
    func Confirm(msg string, writer io.Writer) bool {
    	for {
    		_, _ = fmt.Fprintf(writer, "%s ", msg)
    		var response string
    		_, err := fmt.Scanln(&response)
    		if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/phases/upgrade/staticpods.go

    func StaticPodControlPlane(client clientset.Interface, waiter apiclient.Waiter, pathMgr StaticPodPathManager, cfg *kubeadmapi.InitConfiguration, etcdUpgrade, renewCerts bool, oldEtcdClient, newEtcdClient etcdutil.ClusterInterrogator) error {
    	recoverManifests := map[string]string{}
    	var isExternalEtcd bool
    
    	beforePodHashMap, err := waiter.WaitForStaticPodControlPlaneHashes(cfg.NodeRegistration.Name)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 10:07:41 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  3. pkg/test/kube/util.go

    	gracePeriod := int64(0)
    	return metav1.DeleteOptions{
    		PropagationPolicy:  &propagationPolicy,
    		GracePeriodSeconds: &gracePeriod,
    	}
    }
    
    // WaitUntilPodsAreReady waits until the pod with the name/namespace is in ready state.
    func WaitUntilPodsAreReady(fetchFunc PodFetchFunc, opts ...retry.Option) ([]corev1.Pod, error) {
    	var pods []corev1.Pod
    	err := retry.UntilSuccess(func() error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Dec 04 22:47:52 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  4. pkg/util/async/runner.go

    limitations under the License.
    */
    
    package async
    
    import (
    	"sync"
    )
    
    // Runner is an abstraction to make it easy to start and stop groups of things that can be
    // described by a single function which waits on a channel close to exit.
    type Runner struct {
    	lock      sync.Mutex
    	loopFuncs []func(stop chan struct{})
    	stop      *chan struct{}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 29 06:37:00 UTC 2016
    - 1.4K bytes
    - Viewed (0)
  5. src/syscall/syscall_linux_test.go

    			// needed, based on the number of available
    			// unlocked OS threads at the time waiter
    			// calls runtime.LockOSThread(), but the goal
    			// of doing this every time through the loop
    			// is to race thread creation with v.fn(want)
    			// being executed. Via the once boolean we
    			// also encourage one in 5 waiters to return
    			// locked after participating in only one
    			// question response sequence. This allows the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 23K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/test/issue9400_linux.go

    	}
    
    	// Disable GC for the duration of the test.
    	// This avoids a potential GC deadlock when spinning in uninterruptible ASM below #49695.
    	defer debug.SetGCPercent(debug.SetGCPercent(-1))
    	// SetGCPercent waits until the mark phase is over, but the runtime
    	// also preempts at the start of the sweep phase, so make sure that's
    	// done too. See #49695.
    	runtime.GC()
    
    	// Temporarily rewind the stack and trigger SIGSETXID
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 18 19:55:29 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  7. platforms/core-runtime/process-services/src/main/java/org/gradle/process/internal/ExecHandle.java

        ExecHandleState getState();
    
        /**
         * Aborts the process, blocking until the process has exited. Does nothing if the process has already completed.
         */
        void abort();
    
        /**
         * Waits for the process to finish. Returns immediately if the process has already completed.
         *
         * @return result
         */
        ExecResult waitForFinish();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 19 21:45:01 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

          threadUnexpectedException(t);
        }
      }
    
      //     /**
      //      * Spin-waits up to LONG_DELAY_MS until flag becomes true.
      //      */
      //     public void await(AtomicBoolean flag) {
      //         await(flag, LONG_DELAY_MS);
      //     }
    
      //     /**
      //      * Spin-waits up to the specified timeout until flag becomes true.
      //      */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  9. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/operations/BuildOperationQueue.java

         */
        void add(T operation);
    
        /**
         * Cancels all queued operations in this queue.  Any operations that have started will be allowed to complete.
         */
        void cancel();
    
        /**
         * Waits for all previously added operations to complete.
         * <p>
         * On failure, some effort is made to cancel any operations that have not started.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  10. src/time/sleep.go

    // when f will run, in which case Reset returns true, or schedules f
    // to run again, in which case it returns false.
    // When Reset returns false, Reset neither waits for the prior f to
    // complete before returning nor does it guarantee that the subsequent
    // goroutine running f does not run concurrently with the prior
    // one. If the caller needs to know whether the prior execution of
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:30 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top