mirror of
https://github.com/talent-plan/tinykv.git
synced 2024-12-25 20:30:30 +08:00
fix(kv): typo in comment (#396)
This commit is contained in:
parent
9d03198268
commit
856e7a1939
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user