Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for help (0.12 sec)

  1. internal/dsync/drwmutex.go

    	for !releaseAll(ctx, dm.clnt, tolerance, owner, &locks, isReadLock, restClnts, dm.Names...) {
    		time.Sleep(time.Duration(dm.rng.Float64() * float64(dm.lockRetryMinInterval)))
    	}
    }
    
    // RUnlock releases a read lock held on dm.
    //
    // It is a run-time error if dm is not locked on entry to RUnlock.
    func (dm *DRWMutex) RUnlock(ctx context.Context) {
    	dm.m.Lock()
    	dm.cancelRefresh()
    	dm.m.Unlock()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 19.7K bytes
    - Viewed (0)
Back to top