diff options
author | Akira Yokosawa <akiyks@gmail.com> | 2018-11-24 21:26:26 +0900 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.ibm.com> | 2018-11-25 08:41:15 -0800 |
commit | e30ebe7ba2867381dd0178759a3563e61d213242 (patch) | |
tree | 589003a12ad2a17c2c325d6447d52e0647b1ed77 /owned | |
parent | 9befe92d791abfee57d20e51dbac29b473edc43f (diff) | |
download | perfbook-e30ebe7ba2867381dd0178759a3563e61d213242.tar.gz |
owned: Employ new snippet scheme
Signed-off-by: Akira Yokosawa <akiyks@gmail.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com>
Diffstat (limited to 'owned')
-rw-r--r-- | owned/owned.tex | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/owned/owned.tex b/owned/owned.tex index d584e825..d0063d30 100644 --- a/owned/owned.tex +++ b/owned/owned.tex @@ -57,18 +57,13 @@ first-class citizen. Section~\ref{sec:toolsoftrade:Scripting Languages} introduced the following example: -\vspace{5pt} -\begin{minipage}[t]{\columnwidth} -\scriptsize -\begin{verbatim} - 1 compute_it 1 > compute_it.1.out & - 2 compute_it 2 > compute_it.2.out & - 3 wait - 4 cat compute_it.1.out - 5 cat compute_it.2.out -\end{verbatim} -\end{minipage} -\vspace{5pt} +\begin{VerbatimN} +compute_it 1 > compute_it.1.out & +compute_it 2 > compute_it.2.out & +wait +cat compute_it.1.out +cat compute_it.2.out +\end{VerbatimN} This example runs two instances of the \co{compute_it} program in parallel, as separate processes that do not share memory. |