Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getMutex (0.03 sec)

  1. cmd/local-locker.go

    	readers         atomic.Int32
    	writers         atomic.Int32
    	lastCleanup     atomic.Pointer[time.Time]
    	locksOverloaded atomic.Int64
    }
    
    // getMutex will lock the mutex.
    // Call the returned function to unlock.
    func (l *localLocker) getMutex() func() {
    	l.waitMutex.Add(1)
    	l.mutex.Lock()
    	l.waitMutex.Add(-1)
    	return l.mutex.Unlock
    }
    
    func (l *localLocker) String() string {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12K bytes
    - Viewed (0)
Back to top