Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for restClnts (0.18 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,
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 19.7K bytes
    - Viewed (0)
Back to top