Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 842 for held (0.04 sec)

  1. src/runtime/lockrank_on.go

    		println("<none>")
    		return
    	}
    
    	for j, held := range gp.m.locksHeld[:gp.m.locksHeldLen] {
    		println(j, ":", held.rank.String(), held.rank, unsafe.Pointer(gp.m.locksHeld[j].lockAddr))
    	}
    }
    
    // acquireLockRankAndM acquires a rank which is not associated with a mutex
    // lock. To maintain the invariant that an M with m.locks==0 does not hold any
    // lock-like resources, it also acquires the M.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:29:04 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  2. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/PersistentCache.java

    import org.gradle.internal.serialize.Serializer;
    
    import java.io.Closeable;
    import java.io.File;
    
    /**
     * Represents a directory that can be used for caching.
     *
     * <p>By default, a shared lock is held on this cache by this process, to prevent it being removed or rebuilt by another process
     * while it is in use. You can change this use {@link CacheBuilder#withInitialLockMode(org.gradle.cache.FileLockManager.LockMode)}.
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 19 07:59:23 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. src/runtime/mklockrank.go

    // the syntax.
    //
    // "a < b" means a must be acquired before b if both are held
    // (or, if b is held, a cannot be acquired).
    //
    // "NONE < a" means no locks may be held when a is acquired.
    //
    // If a lock is not given a rank, then it is assumed to be a leaf
    // lock, which means no other lock can be acquired while it is held.
    // Therefore, leaf locks do not need to be given an explicit rank.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  4. src/runtime/rwmutex.go

    //
    // Semantic ranking is represented by acquiring readRank during read lock and
    // writeRank during write lock.
    //
    // wLock is held for the duration of a write lock, so it uses writeRank
    // directly, both for semantic and internal ranking. rLock is only held
    // temporarily inside the rlock/lock methods, so it uses readRankInternal to
    // represent internal ranking. Semantic ranking is represented by a separate
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:29:04 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. src/sync/cond.go

    // Cond implements a condition variable, a rendezvous point
    // for goroutines waiting for or announcing the occurrence
    // of an event.
    //
    // Each Cond has an associated Locker L (often a [*Mutex] or [*RWMutex]),
    // which must be held when changing the condition and
    // when calling the [Cond.Wait] method.
    //
    // A Cond must not be copied after first use.
    //
    // In the terminology of [the Go memory model], Cond arranges that
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. src/sync/rwmutex.go

    // A RWMutex is a reader/writer mutual exclusion lock.
    // The lock can be held by an arbitrary number of readers or a single writer.
    // The zero value for a RWMutex is an unlocked mutex.
    //
    // A RWMutex must not be copied after first use.
    //
    // If any goroutine calls [RWMutex.Lock] while the lock is already held by
    // one or more readers, concurrent calls to [RWMutex.RLock] will block until
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  7. src/runtime/tracebuf.go

    type traceBufQueue struct {
    	head, tail *traceBuf
    }
    
    // push queues buf into queue of buffers.
    func (q *traceBufQueue) push(buf *traceBuf) {
    	buf.link = nil
    	if q.head == nil {
    		q.head = buf
    	} else {
    		q.tail.link = buf
    	}
    	q.tail = buf
    }
    
    // pop dequeues from the queue of buffers.
    func (q *traceBufQueue) pop() *traceBuf {
    	buf := q.head
    	if buf == nil {
    		return nil
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  8. src/runtime/traceexp.go

    	traceWriter
    	exp traceExperiment
    }
    
    // unsafeTraceExpWriter produces a traceExpWriter that doesn't lock the trace.
    //
    // It should only be used in contexts where either:
    // - Another traceLocker is held.
    // - trace.gen is prevented from advancing.
    //
    // buf may be nil.
    func unsafeTraceExpWriter(gen uintptr, buf *traceBuf, exp traceExperiment) traceExpWriter {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/FixedExclusiveModeCrossProcessCacheAccess.java

    import java.util.function.Supplier;
    
    import static org.gradle.cache.FileLockManager.LockMode.Exclusive;
    
    /**
     * A {@link CrossProcessCacheAccess} implementation used when a cache is opened with an exclusive lock that is held until the cache is closed. This implementation is simply a no-op for these methods.
     */
    public class FixedExclusiveModeCrossProcessCacheAccess extends AbstractCrossProcessCacheAccess {
        private final String cacheDisplayName;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 01 12:21:15 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/apf_controller.go

    	// A lock for writing is needed
    	// for writing to any of the following:
    	// - the flowSchemas field
    	// - the slice held in the flowSchemas field
    	// - the priorityLevelStates field
    	// - the map held in the priorityLevelStates field
    	// - any field of a priorityLevelState held in that map
    	lock sync.RWMutex
    
    	// flowSchemas holds the flow schema objects, sorted by increasing
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 48.8K bytes
    - Viewed (0)
Back to top