Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for isWriteLock (0.06 sec)

  1. cmd/local-locker.go

    	Quorum          int    // Quorum represents the quorum required for this lock to be active.
    	idx             int    `msg:"-"` // index of the lock in the lockMap.
    }
    
    // isWriteLock returns whether the lock is a write or read lock.
    func isWriteLock(lri []lockRequesterInfo) bool {
    	return len(lri) == 1 && lri[0].Writer
    }
    
    // localLocker implements Dsync.NetLocker
    //
    //msgp:ignore localLocker
    type localLocker struct {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 10.7K bytes
    - Viewed (0)
Back to top