- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for ForceUnlock (0.18 sec)
-
internal/lsync/lrwmutex.go
} } else { if !lm.isWriteLock { if lm.ref > 0 { lm.ref-- unlocked = true } } } return unlocked } // ForceUnlock will forcefully clear a write or read lock. func (lm *LRWMutex) ForceUnlock() { lm.mu.Lock() defer lm.mu.Unlock() lm.ref = 0 lm.isWriteLock = false } // DRLocker returns a sync.Locker interface that implements
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun Jan 02 17:15:06 GMT 2022 - 4.8K bytes - Viewed (0)