Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for restClnts (0.04 sec)

  1. internal/dsync/drwmutex.go

    }
    
    // NewDRWMutex - initializes a new dsync RW mutex.
    func NewDRWMutex(clnt *Dsync, names ...string) *DRWMutex {
    	restClnts, _ := clnt.GetLockers()
    	sort.Strings(names)
    	return &DRWMutex{
    		writeLocks:           make([]string, len(restClnts)),
    		readLocks:            make([]string, len(restClnts)),
    		Names:                names,
    		clnt:                 clnt,
    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