Skip to contentSkip to conversation

locking: fix small typo

PATCH In review Elad Lahav 2 participants 2 messages Sep 30, 2022 – Oct 6, 2022

lore
Share & tools
lore

Elad Lahav

author
#0 lore raw

PATCH 1/1 locking: fix small typo

---
 locking/locking.tex | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
locking/locking.tex +1 -1
index 45a12caa..032bd13d 100644
@@ -1473,7 +1473,7 @@ Should readers be allowed to continue to acquire the lock, possibly
 starving the writer?
 Similarly, suppose that a writer holds the lock and that a large number
 of both readers and writers are waiting to acquire the lock.
-When the current writer release the lock, should it be given to a reader
+When the current writer releases the lock, should it be given to a reader
 or to another writer?
 If it is given to a reader, how many readers should be allowed to acquire
 the lock before the next writer is permitted to do so?
Signature · 1 line
2.25.1
#1 lore raw
Quoted 1 line · Elad Lahav

Good eyes! Queued and pushed, thank you!

Thanx, Paul

Quoted 20 lines
---
 locking/locking.tex | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
locking/locking.tex +1 -1
index 45a12caa..032bd13d 100644
@@ -1473,7 +1473,7 @@ Should readers be allowed to continue to acquire the lock, possibly
 starving the writer?
 Similarly, suppose that a writer holds the lock and that a large number
 of both readers and writers are waiting to acquire the lock.
-When the current writer release the lock, should it be given to a reader
+When the current writer releases the lock, should it be given to a reader
 or to another writer?
 If it is given to a reader, how many readers should be allowed to acquire
 the lock before the next writer is permitted to do so?
Signature · 1 line
2.25.1