Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for readLocks (0.38 sec)

  1. internal/dsync/drwmutex.go

    		lockFound := false
    		for _, uid := range dm.readLocks {
    			if isLocked(uid) {
    				lockFound = true
    				break
    			}
    		}
    		if !lockFound {
    			panic("Trying to RUnlock() while no RLock() is active")
    		}
    
    		// Copy write locks to stack array
    		copy(locks, dm.readLocks)
    	}
    
    	// Tolerance is not set, defaults to half of the locker clients.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 15:49:49 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

        ReentrantReadWriteLock readWriteLockC = factory.newReentrantReadWriteLock("ReadWriteC");
        readLockA = readWriteLockA.readLock();
        readLockB = readWriteLockB.readLock();
        readLockC = readWriteLockC.readLock();
        writeLockA = readWriteLockA.writeLock();
        writeLockB = readWriteLockB.writeLock();
        writeLockC = readWriteLockC.writeLock();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

        ReentrantReadWriteLock readWriteLockC = factory.newReentrantReadWriteLock("ReadWriteC");
        readLockA = readWriteLockA.readLock();
        readLockB = readWriteLockB.readLock();
        readLockC = readWriteLockC.readLock();
        writeLockA = readWriteLockA.writeLock();
        writeLockB = readWriteLockB.writeLock();
        writeLockC = readWriteLockC.writeLock();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  4. cmd/namespace-lock.go

    	lockSource := getSource(2)
    	start := UTCNow()
    	const readLock = false
    	success := make([]int, len(li.paths))
    	for i, path := range li.paths {
    		if !li.ns.lock(ctx, li.volume, path, lockSource, li.opsID, readLock, timeout.Timeout()) {
    			timeout.LogFailure()
    			for si, sint := range success {
    				if sint == 1 {
    					li.ns.unlock(li.volume, li.paths[si], readLock)
    				}
    			}
    			if errors.Is(ctx.Err(), context.Canceled) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

      }
    
      /**
       * Using this as the blocker object allows introspection and debugging tools to see that the
       * currentRunner thread is blocked on the progress of the interruptor thread, which can help
       * identify deadlocks.
       */
      @VisibleForTesting
      static final class Blocker extends AbstractOwnableSynchronizer implements Runnable {
        private final InterruptibleTask<?> task;
    
        private Blocker(InterruptibleTask<?> task) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/InterruptibleTask.java

      }
    
      /**
       * Using this as the blocker object allows introspection and debugging tools to see that the
       * currentRunner thread is blocked on the progress of the interruptor thread, which can help
       * identify deadlocks.
       */
      @VisibleForTesting
      static final class Blocker extends AbstractOwnableSynchronizer implements Runnable {
        private final InterruptibleTask<?> task;
    
        private Blocker(InterruptibleTask<?> task) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  7. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

    // is a pending execution. Since StartExecute is equivalent to grabbing a lock,
    // multiple DeviceThreads should always be accessed in the same order to avoid
    // deadlocks.
    class DeviceThread {
     public:
      // Starts a background thread waiting for `StartExecute`.
      explicit DeviceThread(const std::string& device, const bool is_async,
                            const int in_flight_nodes_limit)
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Oct 21 04:14:14 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  8. cmd/xl-storage-disk-id-check.go

    	// - missing format.json (unformatted drive)
    	// - format.json is valid but invalid 'uuid'
    	if err = p.checkDiskStale(); err != nil {
    		return ctx, done, err
    	}
    
    	// Disallow recursive tracking to avoid deadlocks.
    	if ctx.Value(healthDiskCtxKey{}) != nil {
    		done = p.updateStorageMetrics(s, paths...)
    		return ctx, done, nil
    	}
    
    	if contextCanceled(ctx) {
    		return ctx, done, ctx.Err()
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:56:26 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  9. RELEASE.md

    *   Fixes a heap buffer overflow in `Transpose`
        ([CVE-2021-41216](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-41216))
    *   Prevents deadlocks arising from mutually recursive `tf.function` objects
        ([CVE-2021-41213](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-41213))
    *   Fixes a null pointer exception in `DeserializeSparse`
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Oct 22 14:33:53 UTC 2024
    - 735.3K bytes
    - Viewed (0)
  10. docs/en/docs/release-notes.md

    ### Fixes
    
    * 🐛 Allow exit code for dependencies with `yield` to always execute, by removing capacity limiter for them, to e.g. allow closing DB connections without deadlocks. PR [#5122](https://github.com/tiangolo/fastapi/pull/5122) by [@adriangb](https://github.com/adriangb).
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Nov 01 11:25:57 UTC 2024
    - 460.3K bytes
    - Viewed (0)
Back to top