Discussions of the Parallel Programming book
 help / color / mirror / Atom feed
* [PATCH] defer: Use \slash to permit line break behind '/'
@ 2019-01-16 22:33 Akira Yokosawa
  2019-01-16 23:00 ` Paul E. McKenney
  0 siblings, 1 reply; 2+ messages in thread
From: Akira Yokosawa @ 2019-01-16 22:33 UTC (permalink / raw)
  To: Paul E. McKenney; +Cc: perfbook, Akira Yokosawa

From 8d305759c347fa6d1a786adfa2b0199a136d29df Mon Sep 17 00:00:00 2001
From: Akira Yokosawa <akiyks@gmail.com>
Date: Thu, 17 Jan 2019 07:17:18 +0900
Subject: [PATCH] defer: Use \slash to permit line break behind '/'

These captions were hyphenated in a strange way in 2c layout
as show below:

                                  ... Ad-
    d/Delete ...

By this change, they are broken behind the '/' character:

                                  ... Add/
    Delete ...

Signed-off-by: Akira Yokosawa <akiyks@gmail.com>
---
 defer/hazptr.tex  | 2 +-
 defer/refcnt.tex  | 2 +-
 defer/seqlock.tex | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/defer/hazptr.tex b/defer/hazptr.tex
index 98ba002..fe319ea 100644
--- a/defer/hazptr.tex
+++ b/defer/hazptr.tex
@@ -188,7 +188,7 @@ and in other publications~\cite{ThomasEHart2007a,McKenney:2013:SDS:2483852.24838
 
 \begin{listing}[tbp]
 \input{CodeSamples/defer/route_hazptr@add_del.fcv}
-\caption{Hazard-Pointer Pre-BSD Routing Table Add/Delete}
+\caption{Hazard-Pointer Pre-BSD Routing Table Add\slash Delete}
 \label{lst:defer:Hazard-Pointer Pre-BSD Routing Table Add/Delete}
 \end{listing}
 
diff --git a/defer/refcnt.tex b/defer/refcnt.tex
index 79b5f18..f385389 100644
--- a/defer/refcnt.tex
+++ b/defer/refcnt.tex
@@ -13,7 +13,7 @@
 
 \begin{listing}[tbp]
 \input{CodeSamples/defer/route_refcnt@add_del.fcv}
-\caption{Reference-Counted Pre-BSD Routing Table Add/Delete (BUGGY!!!)}
+\caption{Reference-Counted Pre-BSD Routing Table Add\slash Delete (BUGGY!!!)}
 \label{lst:defer:Reference-Counted Pre-BSD Routing Table Add/Delete}
 \end{listing}
 
diff --git a/defer/seqlock.tex b/defer/seqlock.tex
index 3eabf31..abb9f37 100644
--- a/defer/seqlock.tex
+++ b/defer/seqlock.tex
@@ -270,7 +270,7 @@ increment of the sequence number on line~\lnref{inc}, then releases the lock.
 
 \begin{listing}[tbp]
 \input{CodeSamples/defer/route_seqlock@add_del.fcv}
-\caption{Sequence-Locked Pre-BSD Routing Table Add/Delete (BUGGY!!!)}
+\caption{Sequence-Locked Pre-BSD Routing Table Add\slash Delete (BUGGY!!!)}
 \label{lst:defer:Sequence-Locked Pre-BSD Routing Table Add/Delete}
 \end{listing}
 
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] defer: Use \slash to permit line break behind '/'
  2019-01-16 22:33 [PATCH] defer: Use \slash to permit line break behind '/' Akira Yokosawa
@ 2019-01-16 23:00 ` Paul E. McKenney
  0 siblings, 0 replies; 2+ messages in thread
From: Paul E. McKenney @ 2019-01-16 23:00 UTC (permalink / raw)
  To: Akira Yokosawa; +Cc: perfbook

On Thu, Jan 17, 2019 at 07:33:14AM +0900, Akira Yokosawa wrote:
> >From 8d305759c347fa6d1a786adfa2b0199a136d29df Mon Sep 17 00:00:00 2001
> From: Akira Yokosawa <akiyks@gmail.com>
> Date: Thu, 17 Jan 2019 07:17:18 +0900
> Subject: [PATCH] defer: Use \slash to permit line break behind '/'
> 
> These captions were hyphenated in a strange way in 2c layout
> as show below:
> 
>                                   ... Ad-
>     d/Delete ...
> 
> By this change, they are broken behind the '/' character:
> 
>                                   ... Add/
>     Delete ...
> 
> Signed-off-by: Akira Yokosawa <akiyks@gmail.com>

That is strange, good eyes!  Queued and pushed, thank you!

							Thanx, Paul

> ---
>  defer/hazptr.tex  | 2 +-
>  defer/refcnt.tex  | 2 +-
>  defer/seqlock.tex | 2 +-
>  3 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/defer/hazptr.tex b/defer/hazptr.tex
> index 98ba002..fe319ea 100644
> --- a/defer/hazptr.tex
> +++ b/defer/hazptr.tex
> @@ -188,7 +188,7 @@ and in other publications~\cite{ThomasEHart2007a,McKenney:2013:SDS:2483852.24838
>  
>  \begin{listing}[tbp]
>  \input{CodeSamples/defer/route_hazptr@add_del.fcv}
> -\caption{Hazard-Pointer Pre-BSD Routing Table Add/Delete}
> +\caption{Hazard-Pointer Pre-BSD Routing Table Add\slash Delete}
>  \label{lst:defer:Hazard-Pointer Pre-BSD Routing Table Add/Delete}
>  \end{listing}
>  
> diff --git a/defer/refcnt.tex b/defer/refcnt.tex
> index 79b5f18..f385389 100644
> --- a/defer/refcnt.tex
> +++ b/defer/refcnt.tex
> @@ -13,7 +13,7 @@
>  
>  \begin{listing}[tbp]
>  \input{CodeSamples/defer/route_refcnt@add_del.fcv}
> -\caption{Reference-Counted Pre-BSD Routing Table Add/Delete (BUGGY!!!)}
> +\caption{Reference-Counted Pre-BSD Routing Table Add\slash Delete (BUGGY!!!)}
>  \label{lst:defer:Reference-Counted Pre-BSD Routing Table Add/Delete}
>  \end{listing}
>  
> diff --git a/defer/seqlock.tex b/defer/seqlock.tex
> index 3eabf31..abb9f37 100644
> --- a/defer/seqlock.tex
> +++ b/defer/seqlock.tex
> @@ -270,7 +270,7 @@ increment of the sequence number on line~\lnref{inc}, then releases the lock.
>  
>  \begin{listing}[tbp]
>  \input{CodeSamples/defer/route_seqlock@add_del.fcv}
> -\caption{Sequence-Locked Pre-BSD Routing Table Add/Delete (BUGGY!!!)}
> +\caption{Sequence-Locked Pre-BSD Routing Table Add\slash Delete (BUGGY!!!)}
>  \label{lst:defer:Sequence-Locked Pre-BSD Routing Table Add/Delete}
>  \end{listing}
>  
> -- 
> 2.7.4
> 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-01-16 23:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-16 22:33 [PATCH] defer: Use \slash to permit line break behind '/' Akira Yokosawa
2019-01-16 23:00 ` Paul E. McKenney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox