Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 434 for waitc (0.1 sec)

  1. guava-tests/test/com/google/common/util/concurrent/TestThread.java

      /**
       * Asserts that a prior call that had caused this thread to block or wait has since returned
       * normally.
       */
      public void assertPriorCallReturns(@Nullable String methodName) throws Exception {
        assertEquals(null, getResponse(methodName).getResult());
      }
    
      /**
       * Asserts that a prior call that had caused this thread to block or wait has since returned the
       * expected boolean value.
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  2. pkg/proxy/config/config.go

    func (c *EndpointSliceConfig) RegisterEventHandler(handler EndpointSliceHandler) {
    	c.eventHandlers = append(c.eventHandlers, handler)
    }
    
    // Run waits for cache synced and invokes handlers after syncing.
    func (c *EndpointSliceConfig) Run(stopCh <-chan struct{}) {
    	c.logger.Info("Starting endpoint slice config controller")
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  3. src/runtime/runtime2.go

    	waitReasonGCSweepWait                             // "GC sweep wait"
    	waitReasonGCScavengeWait                          // "GC scavenge wait"
    	waitReasonChanReceive                             // "chan receive"
    	waitReasonChanSend                                // "chan send"
    	waitReasonFinalizerWait                           // "finalizer wait"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
  4. pkg/kube/kclient/crdwatcher.go

    	c.mutex.Unlock()
    	kube.WaitForCacheSync("crd watcher", stop, c.crds.HasSynced)
    	c.queue.Run(stop)
    	c.crds.ShutdownHandlers()
    }
    
    // WaitForCRD waits until the request CRD exists, and returns true on success. A false return value
    // indicates the CRD does not exist but the wait failed or was canceled.
    // This is useful to conditionally enable controllers based on CRDs being created.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 14:44:17 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/TestThread.java

      /**
       * Asserts that a prior call that had caused this thread to block or wait has since returned
       * normally.
       */
      public void assertPriorCallReturns(@Nullable String methodName) throws Exception {
        assertEquals(null, getResponse(methodName).getResult());
      }
    
      /**
       * Asserts that a prior call that had caused this thread to block or wait has since returned the
       * expected boolean value.
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  6. src/syscall/syscall_aix.go

    func ReadDirent(fd int, buf []byte) (n int, err error) {
    	return getdirent(fd, buf)
    }
    
    //sys  wait4(pid _Pid_t, status *_C_int, options int, rusage *Rusage) (wpid _Pid_t, err error)
    
    func Wait4(pid int, wstatus *WaitStatus, options int, rusage *Rusage) (wpid int, err error) {
    	var status _C_int
    	var r _Pid_t
    	err = ERESTART
    	// AIX wait4 may return with ERESTART errno, while the process is still
    	// active.
    	for err == ERESTART {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:50:55 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  7. src/sync/cond.go

    func NewCond(l Locker) *Cond {
    	return &Cond{L: l}
    }
    
    // Wait atomically unlocks c.L and suspends execution
    // of the calling goroutine. After later resuming execution,
    // Wait locks c.L before returning. Unlike in other systems,
    // Wait cannot return unless awoken by [Cond.Broadcast] or [Cond.Signal].
    //
    // Because c.L is not locked while Wait is waiting, the caller
    // typically cannot assume that the condition is true when
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. src/cmd/go/internal/par/work.go

    			if w.waiting == w.running {
    				// All done.
    				w.wait.Broadcast()
    				w.mu.Unlock()
    				return
    			}
    			w.wait.Wait()
    			w.waiting--
    		}
    
    		// Pick something to do at random,
    		// to eliminate pathological contention
    		// in case items added at about the same time
    		// are most likely to contend.
    		i := rand.Intn(len(w.todo))
    		item := w.todo[i]
    		w.todo[i] = w.todo[len(w.todo)-1]
    		w.todo = w.todo[:len(w.todo)-1]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 15:54:54 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. pkg/controller/volume/attachdetach/attach_detach_controller.go

    	// DesiredStateOfWorldPopulatorLoopSleepPeriod is the amount of time the
    	// DesiredStateOfWorldPopulator loop waits between successive executions
    	DesiredStateOfWorldPopulatorLoopSleepPeriod time.Duration
    
    	// DesiredStateOfWorldPopulatorListPodsRetryDuration is the amount of
    	// time the DesiredStateOfWorldPopulator loop waits between list pods
    	// calls.
    	DesiredStateOfWorldPopulatorListPodsRetryDuration time.Duration
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  10. src/os/exec/exec_test.go

    	var wg sync.WaitGroup
    	wg.Add(1)
    	defer wg.Wait()
    	go func() {
    		defer wg.Done()
    
    		_, err := io.Copy(stdin, strings.NewReader(stdinCloseTestString))
    		check("Copy", err)
    
    		// Before the fix, this next line would race with cmd.Wait.
    		if err := stdin.Close(); err != nil && !errors.Is(err, os.ErrClosed) {
    			t.Errorf("Close: %v", err)
    		}
    	}()
    
    	check("Wait", cmd.Wait())
    }
    
    // Issue 17647.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 48.4K bytes
    - Viewed (0)
Back to top