Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for checkFailedUnlocks (0.11 sec)

  1. internal/dsync/drwmutex.go

    					owner, grantToBeReleased.lockUID, isReadLock, names...)
    			}
    		}
    	}()
    
    	return quorumLocked
    }
    
    // checkFailedUnlocks determines whether we have sufficiently unlocked all
    // resources to ensure no deadlocks for future callers
    func checkFailedUnlocks(locks []string, tolerance int) bool {
    	unlocksFailed := 0
    	for lockID := range locks {
    		if isLocked(locks[lockID]) {
    			unlocksFailed++
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 15:49:49 UTC 2024
    - 20.4K bytes
    - Viewed (0)
Back to top