summaryrefslogtreecommitdiffstats
path: root/owned
diff options
context:
space:
mode:
authorAkira Yokosawa <akiyks@gmail.com>2018-11-24 21:26:26 +0900
committerPaul E. McKenney <paulmck@linux.ibm.com>2018-11-25 08:41:15 -0800
commite30ebe7ba2867381dd0178759a3563e61d213242 (patch)
tree589003a12ad2a17c2c325d6447d52e0647b1ed77 /owned
parent9befe92d791abfee57d20e51dbac29b473edc43f (diff)
downloadperfbook-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.tex19
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.