mirror of
https://github.com/talent-plan/tinykv.git
synced 2026-08-22 06:23:28 +08:00
fix(kv): typo in comment (#396)
This commit is contained in:
@@ -78,7 +78,7 @@ func (l *Latches) ReleaseLatches(keysToUnlatch [][]byte) {
|
||||
}
|
||||
}
|
||||
|
||||
// WaitForLatches attempts to lock all keys in keysToLatch using AcquireLatches. If a latch ia already locked, then =
|
||||
// WaitForLatches attempts to lock all keys in keysToLatch using AcquireLatches. If a latch is already locked, then
|
||||
// WaitForLatches will wait for it to become unlocked then try again. Therefore WaitForLatches may block for an unbounded
|
||||
// length of time.
|
||||
func (l *Latches) WaitForLatches(keysToLatch [][]byte) {
|
||||
|
||||
Reference in New Issue
Block a user