Skip to contentSkip to conversation

defer: Fix wrong code line

PATCH In review SeongJae Park 2 participants 2 messages Oct 2, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 defer: Fix wrong code line

---
 defer/hazptr.tex | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
defer/hazptr.tex +2 -2
index 7550a8d..44928e9 100644
@@ -56,8 +56,8 @@ out quite carefully in order to avoid destructive races with concurrent
 deletion.
 One implementation is shown in
 Listing~\ref{lst:defer:Hazard-Pointer Storage and Erasure},
-which shows \co{hp_store()} on lines~1-13 and \co{hp_erase()} on
-lines~15-20.
+which shows \co{hp_store()} on lines~1-14 and \co{hp_erase()} on
+lines~16-21.
 The \co{smp_mb()} primitive will be described in detail in
 Chapter~\ref{chp:Advanced Synchronization: Memory Ordering}, but may be ignored for
 the purposes of this brief overview.
Signature · 1 line
2.10.0
#1 lore raw
Quoted 1 line · SeongJae Park

Good eyes! Queued and pushed, thank you!!!

Thanx, Paul

Quoted 22 lines
---
 defer/hazptr.tex | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
defer/hazptr.tex +2 -2
index 7550a8d..44928e9 100644
@@ -56,8 +56,8 @@ out quite carefully in order to avoid destructive races with concurrent
 deletion.
 One implementation is shown in
 Listing~\ref{lst:defer:Hazard-Pointer Storage and Erasure},
-which shows \co{hp_store()} on lines~1-13 and \co{hp_erase()} on
-lines~15-20.
+which shows \co{hp_store()} on lines~1-14 and \co{hp_erase()} on
+lines~16-21.
 The \co{smp_mb()} primitive will be described in detail in
 Chapter~\ref{chp:Advanced Synchronization: Memory Ordering}, but may be ignored for
 the purposes of this brief overview.
Signature · 1 line
2.10.0