Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for stopLocked (0.21 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/cacher/cache_watcher_test.go

    		default:
    		}
    		w.setDrainInputBufferLocked(false)
    		w.stopLocked()
    	}
    }
    
    func TestCacheWatcherStoppedInAnotherGoroutine(t *testing.T) {
    	var w *cacheWatcher
    	done := make(chan struct{})
    	filter := func(string, labels.Set, fields.Set) bool { return true }
    	forget := func(drainWatcher bool) {
    		w.setDrainInputBufferLocked(drainWatcher)
    		w.stopLocked()
    		done <- struct{}{}
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 09:20:10 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go

    // It also marks dispatching as false.
    func (c *Cacher) finishDispatching() {
    	c.Lock()
    	defer c.Unlock()
    	c.dispatching = false
    	for _, watcher := range c.watchersToStop {
    		watcher.stopLocked()
    	}
    	c.watchersToStop = c.watchersToStop[:0]
    
    	for _, watcher := range c.expiredBookmarkWatchers {
    		if watcher.stopped {
    			continue
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  3. src/runtime/proc.go

    	releasem(mp)
    }
    
    // Stops execution of the current m that is locked to a g until the g is runnable again.
    // Returns with acquired P.
    func stoplockedm() {
    	gp := getg()
    
    	if gp.m.lockedg == 0 || gp.m.lockedg.ptr().lockedm.ptr() != gp.m {
    		throw("stoplockedm: inconsistent locking")
    	}
    	if gp.m.p != 0 {
    		// Schedule another M to run this p.
    		pp := releasep()
    		handoffp(pp)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  4. cluster/gce/gci/configure-helper.sh

        log-wrap 'AssembleDockerFlags' assemble-docker-flags
        # stop docker if it is present as we want to use just containerd
        log-wrap 'StopDocker' systemctl stop docker || echo "unable to stop docker"
      fi
    
      if [[ ! -e "/etc/profile.d/containerd_env.sh" ]]; then
        log-wrap 'SetupContainerd' setup-containerd
      else
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 22:07:47 UTC 2024
    - 141.1K bytes
    - Viewed (0)
Back to top