Re: [PATCH] locking: Use helper macro in Table 7.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
> 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@xxxxxxxxx>

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@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

--
To unsubscribe from this list: send the line "unsubscribe perfbook" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux