Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,377 for waitc (0.13 sec)

  1. pkg/kubelet/eviction/threshold_notifier_linux.go

    			return
    		}
    		eventCh <- struct{}{}
    	}
    }
    
    // wait waits up to notifierRefreshInterval for an event on the Epoll FD for the
    // eventfd we are concerned about.  It returns an error if one occurs, and true
    // if the consumer should read from the eventfd.
    func wait(epfd, eventfd int, timeout time.Duration) (bool, error) {
    	events := make([]unix.EpollEvent, numFdEvents+1)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 01 21:59:54 UTC 2022
    - 5.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/Service.java

      void awaitRunning(long timeout, TimeUnit unit) throws TimeoutException;
    
      /**
       * Waits for the {@link Service} to reach the {@linkplain State#TERMINATED terminated state}.
       *
       * @throws IllegalStateException if the service {@linkplain State#FAILED fails}.
       * @since 15.0
       */
      void awaitTerminated();
    
      /**
       * Waits for the {@link Service} to reach a terminal state (either {@link Service.State#TERMINATED
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/server/filters/priority-and-fairness_test.go

    		}
    		postEnqueue.Done()
    		postEnqueue.Wait()
    	}
    
    	postDequeueFunc := func() {
    		preDequeue.Done()
    		preDequeue.Wait()
    		if atomicReadOnlyWaiting != 0 {
    			t.Errorf("Wanted %d requests in queue, got %d", 0, atomicReadOnlyWaiting)
    		}
    		postDequeue.Done()
    		postDequeue.Wait()
    	}
    
    	postExecuteFunc := func() {
    		finishExecute.Done()
    		finishExecute.Wait()
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 52.6K bytes
    - Viewed (0)
  4. 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)
  5. src/os/wait6_dragonfly.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package os
    
    import (
    	"syscall"
    	"unsafe"
    )
    
    const _P_PID = 0
    
    func wait6(idtype, id, options int) (status int, errno syscall.Errno) {
    	var status32 int32 // C.int
    	_, _, errno = syscall.Syscall6(syscall.SYS_WAIT6, uintptr(idtype), uintptr(id), uintptr(unsafe.Pointer(&status32)), uintptr(options), 0, 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 13 21:25:45 UTC 2022
    - 496 bytes
    - Viewed (0)
  6. src/cmd/go/internal/script/state.go

    	return s, nil
    }
    
    // CloseAndWait cancels the State's Context and waits for any background commands to
    // finish. If any remaining background command ended in an unexpected state,
    // Close returns a non-nil error.
    func (s *State) CloseAndWait(log io.Writer) error {
    	s.cancel()
    	wait, err := Wait().Run(s)
    	if wait != nil {
    		panic("script: internal error: Wait unexpectedly returns its own WaitFunc")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 31 20:33:02 UTC 2023
    - 6.9K 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. android/guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

      protected CountDownLatch latch;
      protected ListenableFuture<Boolean> future;
    
      @Override
      protected void setUp() throws Exception {
    
        // Create a latch and a future that waits on the latch.
        latch = new CountDownLatch(1);
        future = createListenableFuture(Boolean.TRUE, null, latch);
      }
    
      @Override
      protected void tearDown() throws Exception {
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 18:30:30 UTC 2023
    - 6K bytes
    - Viewed (0)
  10. subprojects/core/src/testFixtures/groovy/org/gradle/util/internal/MultithreadedTestRule.java

                    throw new RuntimeException(String.format("Cannot wait for %s, as clock is currently at %s.", clockTick,
                            currentTick));
                }
                if (!active.contains(Thread.currentThread())) {
                    throw new RuntimeException("Cannot wait for clock tick from a thread which is not a test thread.");
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 23.3K bytes
    - Viewed (0)
Back to top