Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,948 for waits (0.04 sec)

  1. istioctl/pkg/xds/client.go

    	defaultExpirationSeconds = 60 * 60
    )
    
    // Audience to create tokens for
    var tokenAudiences = []string{"istio-ca"}
    
    // GetXdsResponse opens a gRPC connection to opts.xds and waits for a single response
    func GetXdsResponse(dr *discovery.DiscoveryRequest, ns string, serviceAccount string, opts clioptions.CentralControlPlaneOptions,
    	grpcOpts []grpc.DialOption,
    ) (*discovery.DiscoveryResponse, error) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 19 22:42:42 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  2. cni/pkg/util/pluginutil.go

    	"istio.io/istio/pkg/log"
    )
    
    type Watcher struct {
    	watcher *fsnotify.Watcher
    	Events  chan struct{}
    	Errors  chan error
    }
    
    // Waits until a file is modified (returns nil), the context is cancelled (returns context error), or returns error
    func (w *Watcher) Wait(ctx context.Context) error {
    	select {
    	case <-w.Events:
    		return nil
    	case err := <-w.Errors:
    		return err
    	case <-ctx.Done():
    		return ctx.Err()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. pkg/kubelet/cloudresource/cloud_request_manager.go

    		// been saved at least once. The semantics here are:
    		//
    		// * Readers of the result will wait on the monitor until the first result
    		//   has been saved.
    		// * The sync loop (i.e. the only writer), will signal all waiters every
    		//   time it updates the result.
    		nodeAddressesMonitor: sync.NewCond(&sync.Mutex{}),
    	}
    }
    
    // NodeAddresses waits for the first sync loop to run. If no successful syncs
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 05 18:29:23 UTC 2021
    - 4.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/cache/LoadingCache.java

       * necessary. No observable state associated with this cache is modified until loading completes.
       *
       * <p>If another call to {@link #get} or {@link #getUnchecked} is currently loading the value for
       * {@code key}, simply waits for that thread to finish and returns its loaded value. Note that
       * multiple threads can concurrently load values for distinct keys.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat Aug 06 17:12:03 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  5. cluster/images/etcd/migrate/migrate_server.go

    func NewEtcdMigrateServer(cfg *EtcdMigrateCfg, client EtcdMigrateClient) *EtcdMigrateServer {
    	return &EtcdMigrateServer{cfg: cfg, client: client}
    }
    
    // Start starts an etcd server as a separate process, waits until it has started, and returns a exec.Cmd.
    // TODO: Add support for listening to client via TLS.
    func (r *EtcdMigrateServer) Start(version *EtcdVersion) error {
    	etcdCmd := exec.Command(
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 30 16:29:59 UTC 2022
    - 3.8K bytes
    - Viewed (0)
  6. pkg/kubelet/pluginmanager/plugin_manager.go

    	// registration/deregistration
    	AddHandler(pluginType string, pluginHandler cache.PluginHandler)
    }
    
    const (
    	// loopSleepDuration is the amount of time the reconciler loop waits
    	// between successive executions
    	loopSleepDuration = 1 * time.Second
    )
    
    // NewPluginManager returns a new concrete instance implementing the
    // PluginManager interface.
    func NewPluginManager(
    	sockDir string,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 01 05:56:33 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  7. 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)
  8. src/runtime/os_darwin.go

    // handler: the sigsend function. The signal handler code does not require
    // all the features of notes: it does not need to do a timed wait.
    // This is a separate implementation of notes, based on a pipe, that does
    // not support timed waits but is async-signal-safe.
    func sigNoteSetup(*note) {
    	if sigNoteRead != 0 || sigNoteWrite != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  9. src/runtime/sigqueue_plan9.go

    		if note != "" {
    			return note
    		}
    
    		lock(&sig.lock)
    		sig.sleeping = true
    		noteclear(&sig.note)
    		unlock(&sig.lock)
    		notetsleepg(&sig.note, -1)
    	}
    }
    
    // signalWaitUntilIdle waits until the signal delivery mechanism is idle.
    // This is used to ensure that we do not drop a signal notification due
    // to a race between disabling a signal and receiving a signal.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:54:15 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java

        slowChannel.exitClose.countDown(); // release the interrupter
    
        // We need to wait for the runner to exit.  To make sure that the interrupting thread wakes it
        // back up.
        runner.join(TimeUnit.SECONDS.toMillis(10));
      }
    
      // waits for the given thread to be blocked on the given object
      private static void awaitBlockedOnInstanceOf(Thread t, Class<?> blocker)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 6.6K bytes
    - Viewed (0)
Back to top