Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 842 for held (0.43 sec)

  1. src/runtime/proc.go

    	if !q.empty() {
    		q.tail.ptr().schedlink = l.head
    		l.head = q.head
    	}
    }
    
    // pop removes and returns the head of l. If l is empty, it returns nil.
    func (l *gList) pop() *g {
    	gp := l.head.ptr()
    	if gp != nil {
    		l.head = gp.schedlink
    	}
    	return gp
    }
    
    //go:linkname setMaxThreads runtime/debug.setMaxThreads
    func setMaxThreads(in int) (out int) {
    	lock(&sched.lock)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/api/services/internal/RegisteredBuildServiceProvider.java

            synchronized (instanceLock) {
                return stopActions;
            }
        }
    
        @Override
        public void maybeStop() {
            // We don't want to call stop actions with the lock held.
            ExecutionResult<Void> stopResult = ExecutionResult.forEach(getStopActions(), action -> action.accept(this));
            synchronized (instanceLock) {
                try {
                    if (instance != null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 09:24:00 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache.go

    }
    
    // isCacheFullLocked used to judge whether watchCacheEvent is full.
    // Assumes that lock is already held for write.
    func (w *watchCache) isCacheFullLocked() bool {
    	return w.endIndex == w.startIndex+w.capacity
    }
    
    // doCacheResizeLocked resize watchCache's event array with different capacity.
    // Assumes that lock is already held for write.
    func (w *watchCache) doCacheResizeLocked(capacity int) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 10:20:57 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  4. src/unique/handle.go

    	// over the sync.Map and call functions on the type-specific data structures otherwise.
    	// These cleanup funcs each close over one of these type-specific maps.
    	//
    	// cleanupMu protects cleanupNotify and is held across the entire cleanup. Used for testing.
    	// cleanupNotify is a test-only mechanism that allow tests to wait for the cleanup to run.
    	cleanupMu      sync.Mutex
    	cleanupFuncsMu sync.Mutex
    	cleanupFuncs   []func()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 16:01:55 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/ExecutionList.java

        // is likely to be a bug anyway.
    
        // N.B. All writes to the list and the next pointers must have happened before the above
        // synchronized block, so we can iterate the list without the lock held here.
        RunnableExecutorPair reversedList = null;
        while (list != null) {
          RunnableExecutorPair tmp = list;
          list = list.next;
          tmp.next = reversedList;
          reversedList = tmp;
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 22 21:17:24 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  6. src/runtime/iface.go

    			return nil
    		}
    		if m.Inter == inter && m.Type == typ {
    			return m
    		}
    		h += i
    		h &= mask
    	}
    }
    
    // itabAdd adds the given itab to the itab hash table.
    // itabLock must be held.
    func itabAdd(m *itab) {
    	// Bugs can lead to calling this while mallocing is set,
    	// typically because this is called while panicking.
    	// Crash reliably, rather than only when we need to grow
    	// the hash table.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache_interval.go

    // the exposed Next() API. The main intent for doing things
    // this way is to introduce an upper bound of memory usage
    // for starting a watch and reduce the maximum possible time
    // interval for which the lock would be held while events are
    // copied over.
    //
    // The source of events for the interval is typically either
    // the watchCache circular buffer, if events being retrieved
    // need to be for resource versions > 0 or the underlying
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 09:20:10 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  8. src/database/sql/sql.go

    	// is an active query. It is held for read during queries
    	// and exclusively during close.
    	closemu sync.RWMutex
    
    	// dc is owned exclusively until Commit or Rollback, at which point
    	// it's returned with putConn.
    	dc  *driverConn
    	txi driver.Tx
    
    	// releaseConn is called once the Tx is closed to release
    	// any held driverConn back to the pool.
    	releaseConn func(error)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 103.6K bytes
    - Viewed (0)
  9. src/runtime/trace.go

    	// adventurous we could lift this restriction and add a STWActive event, but the
    	// cost of maintaining this consistency is low. We're not going to hold this semaphore
    	// for very long and most STW periods are very short.
    	// Once we hold worldsema, prevent preemption as well so we're not interrupted partway
    	// through this. We want to get this done as soon as possible.
    	semacquire(&worldsema)
    	mp := acquirem()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/ExecutionList.java

        // is likely to be a bug anyway.
    
        // N.B. All writes to the list and the next pointers must have happened before the above
        // synchronized block, so we can iterate the list without the lock held here.
        RunnableExecutorPair reversedList = null;
        while (list != null) {
          RunnableExecutorPair tmp = list;
          list = list.next;
          tmp.next = reversedList;
          reversedList = tmp;
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 22 21:17:24 UTC 2024
    - 6.9K bytes
    - Viewed (0)
Back to top