Discussions of the Parallel Programming book
 help / color / mirror / Atom feed
From: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
To: Akira Yokosawa <akiyks@gmail.com>
Cc: perfbook@vger.kernel.org
Subject: Re: [PATCH] locking: Use helper macro in Table 7.1
Date: Wed, 1 Nov 2017 15:48:04 -0700	[thread overview]
Message-ID: <20171101224804.GY3659@linux.vnet.ibm.com> (raw)
In-Reply-To: <e1024867-a2d4-1b6c-72aa-24c716ebc2f1@gmail.com>

On Thu, Nov 02, 2017 at 07:09:26AM +0900, Akira Yokosawa wrote:
> >From af9e5f272a12304067120b79a86d6673b605b7b3 Mon Sep 17 00:00:00 2001
> From: Akira Yokosawa <akiyks@gmail.com>
> Date: Thu, 2 Nov 2017 07:02:07 +0900
> Subject: [PATCH] locking: Use helper macro in Table 7.1
> 
> Signed-off-by: Akira Yokosawa <akiyks@gmail.com>

Applied, thank you very much!

							Thanx, Paul

> ---
>  locking/locking.tex | 25 +++++++------------------
>  1 file changed, 7 insertions(+), 18 deletions(-)
> 
> diff --git a/locking/locking.tex b/locking/locking.tex
> index 025320b..12a0240 100644
> --- a/locking/locking.tex
> +++ b/locking/locking.tex
> @@ -1314,28 +1314,17 @@ or even milliseconds.
>  \begin{table}
>  \renewcommand*{\arraystretch}{1.2}
>  \newcommand{\x}{\textcolor{gray!20}{\rule{7pt}{7pt}}}
> +\newcommand{\rothead}[1]{\begin{picture}(6,65)(0,0)\rotatebox{90}{#1}\end{picture}}
>  \small
>  \centering
>  \begin{tabular}{lcccccc}
>  	\toprule
> -	& \begin{picture}(6,65)(0,0)
> -		\rotatebox{90}{Null (Not Held)}
> -	  \end{picture}
> -	& \begin{picture}(6,65)(0,0)
> -		\rotatebox{90}{Concurrent Read}
> -	  \end{picture}
> -	& \begin{picture}(6,65)(0,0)
> -		\rotatebox{90}{Concurrent Write}
> -	  \end{picture}
> -	& \begin{picture}(6,65)(0,0)
> -		\rotatebox{90}{Protected Read}
> -	  \end{picture}
> -	& \begin{picture}(6,65)(0,0)
> -		\rotatebox{90}{Protected Write}
> -	  \end{picture}
> -	& \begin{picture}(6,65)(0,0)
> -		\rotatebox{90}{Exclusive}
> -	  \end{picture}
> +	& \rothead{Null (Not Held)}
> +	& \rothead{Concurrent Read}
> +	& \rothead{Concurrent Write}
> +	& \rothead{Protected Read}
> +	& \rothead{Protected Write}
> +	& \rothead{Exclusive}
>  	\\
>  %				  NL   CR   CW     PR   PW   EX
>  	\cmidrule(r){1-1} \cmidrule{2-7}
> -- 
> 2.7.4
> 
> 
> --
> To unsubscribe from this list: send the line "unsubscribe perfbook" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 


      reply	other threads:[~2017-11-01 22:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-01 14:27 [PATCH] memorder: Adjust height of Table 15.5's header Akira Yokosawa
2017-11-01 14:51 ` Paul E. McKenney
2017-11-01 15:10   ` Akira Yokosawa
2017-11-01 22:09   ` [PATCH] locking: Use helper macro in Table 7.1 Akira Yokosawa
2017-11-01 22:48     ` Paul E. McKenney [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171101224804.GY3659@linux.vnet.ibm.com \
    --to=paulmck@linux.vnet.ibm.com \
    --cc=akiyks@gmail.com \
    --cc=perfbook@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox