Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 5,554 for acquired (0.91 sec)

  1. pkg/kubelet/util/manager/watch_based_manager.go

    }
    
    func (c *objectCache) startRecycleIdleWatch() {
    	c.lock.Lock()
    	defer c.lock.Unlock()
    
    	for key, item := range c.items {
    		if item.stopIfIdle(c.clock.Now(), c.maxIdleTime) {
    			klog.V(4).InfoS("Not acquired for long time, Stopped watching for changes", "objectKey", key, "maxIdleTime", c.maxIdleTime)
    		}
    	}
    }
    
    func (c *objectCache) shutdownWhenStopped(stopCh <-chan struct{}) {
    	<-stopCh
    
    	c.lock.Lock()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  2. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/DefaultFileLockManager.java

             * <br><br>
             *
             * Algorithm:<br>
             * 1. We first try to acquire a lock on the state region with retries, see {@link #lockStateRegion(LockMode)}.<br>
             * 2a. If we use exclusive lock, and we succeed in step 1., then we acquire an exclusive lock
             * on the information region and write our details (port and lock id) there, and then we release lock of information region.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:32 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  3. src/net/cgo_unix.go

    // cancellation (cgo, syscalls). blocking func may still be running after this function finishes.
    // For the duration of the execution of the blocking function, the thread is 'acquired' using [acquireThread],
    // blocking might not be executed when the context gets canceled early.
    func doBlockingWithCtx[T any](ctx context.Context, lookupName string, blocking func() (T, error)) (T, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:23:45 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache.go

    func (w *watchCache) List() []interface{} {
    	return w.store.List()
    }
    
    // waitUntilFreshAndBlock waits until cache is at least as fresh as given <resourceVersion>.
    // NOTE: This function acquired lock and doesn't release it.
    // You HAVE TO explicitly call w.RUnlock() after this function.
    func (w *watchCache) waitUntilFreshAndBlock(ctx context.Context, resourceVersion uint64) error {
    	startTime := w.clock.Now()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 10:20:57 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  5. pkg/util/iptables/iptables.go

    const WaitIntervalUsecondsValue = "100000"
    
    // LockfilePath16x is the iptables 1.6.x lock file acquired by any process that's making any change in the iptable rule
    const LockfilePath16x = "/run/xtables.lock"
    
    // LockfilePath14x is the iptables 1.4.x lock file acquired by any process that's making any change in the iptable rule
    const LockfilePath14x = "@xtables"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 28.6K bytes
    - Viewed (0)
  6. cmd/kube-controller-manager/app/controllermanager.go

    	if leaderMigrator != nil {
    		// Wait for Service Account Token Controller to start before acquiring the migration lock.
    		// At this point, the main lock must have already been acquired, or the KCM process already exited.
    		// We wait for the main lock before acquiring the migration lock to prevent the situation
    		//  where KCM instance A holds the main lock while KCM instance B holds the migration lock.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 13:03:53 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  7. pilot/pkg/leaderelection/k8sleaderelection/leaderelection_test.go

    			keyComparisonFunc: func(existingKey string) bool {
    				return existingKey != "" && "zzz" > existingKey
    			},
    
    			expectSuccess: false,
    			outHolder:     "bing",
    		},
    		{
    			name: "renew already acquired object",
    			reactors: []Reactor{
    				{
    					verb: "get",
    					reaction: func(action fakeclient.Action) (handled bool, ret runtime.Object, err error) {
    						// nolint: lll
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jan 23 16:39:43 UTC 2023
    - 42.5K bytes
    - Viewed (0)
  8. src/runtime/mgcsweep.go

    		if !isSweepDone() {
    			// This can happen if a GC runs between
    			// gosweepone returning ^0 above
    			// and the lock being acquired.
    			unlock(&sweep.lock)
    			continue
    		}
    		sweep.parked = true
    		goparkunlock(&sweep.lock, waitReasonGCSweepWait, traceBlockGCSweep, 1)
    	}
    }
    
    // sweepLocker acquires sweep ownership of spans.
    type sweepLocker struct {
    	// sweepGen is the sweep generation of the heap.
    	sweepGen uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:52:18 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/EventListener.kt

        call: Call,
        inetSocketAddress: InetSocketAddress,
        proxy: Proxy,
        protocol: Protocol?,
        ioe: IOException,
      ) {
      }
    
      /**
       * Invoked after a connection has been acquired for the `call`.
       *
       * This can be invoked more than 1 time for a single [Call]. For example, if the response
       * to the [Call.request] is a redirect to a different address.
       */
      open fun connectionAcquired(
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  10. internal/ringbuffer/ring_buffer.go

    	// ErrIsNotEmpty is returned when the buffer is not empty and not blocking.
    	ErrIsNotEmpty = errors.New("ringbuffer is not empty")
    
    	// ErrAcquireLock is returned when the lock is not acquired on Try operations.
    	ErrAcquireLock = errors.New("unable to acquire lock")
    
    	// ErrWriteOnClosed is returned when write on a closed ringbuffer.
    	ErrWriteOnClosed = errors.New("write on closed ringbuffer")
    )
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top