fix compilation
This commit is contained in:
@@ -61,7 +61,7 @@ func (lt *LockTable[T]) AcquireLock(intention string, key T, lockType LockType)
|
|||||||
}
|
}
|
||||||
lt.mu.Unlock()
|
lt.mu.Unlock()
|
||||||
|
|
||||||
lock = lt.NewActiveLock(intention)
|
lock = lt.NewActiveLock(intention, lockType)
|
||||||
|
|
||||||
// If the lock is held exclusively, wait
|
// If the lock is held exclusively, wait
|
||||||
entry.mu.Lock()
|
entry.mu.Lock()
|
||||||
|
|||||||
Reference in New Issue
Block a user