summaryrefslogtreecommitdiffstats
path: root/toolsoftrade
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2011-01-18 14:55:55 -0800
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2011-01-18 14:55:55 -0800
commit195a9538864c9441c21f2e1b6c530cb4878897dd (patch)
treefa0e88ee3c78f1c15322cafabdb1c88c54935cbd /toolsoftrade
parent7494a1589180b2b6ffea33b602ac5bc74c7dc170 (diff)
downloadperfbook-195a9538864c9441c21f2e1b6c530cb4878897dd.tar.gz
Combine two adjacent code texts when they belong together
Signed-off-by: Jan Engelhardt <jengelh@medozas.de> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'toolsoftrade')
-rw-r--r--toolsoftrade/toolsoftrade.tex8
1 files changed, 4 insertions, 4 deletions
diff --git a/toolsoftrade/toolsoftrade.tex b/toolsoftrade/toolsoftrade.tex
index e09c324f..6feb48ff 100644
--- a/toolsoftrade/toolsoftrade.tex
+++ b/toolsoftrade/toolsoftrade.tex
@@ -97,7 +97,7 @@ grep $pattern1 | sed -e 's/a/b/' | sort
For another example, the \co{make} software-build scripting language
provides a \co{-j} option that specifies how much parallelism should be
introduced into the build process.
-For example, typing \co{make}~\co{-j4} when building a Linux kernel
+For example, typing \co{make -j4} when building a Linux kernel
specifies that up to four parallel compiles be carried out concurrently.
It is hoped that these simple examples convince you that parallel
@@ -1149,7 +1149,7 @@ but may be implemented straightforwardly as follows:
\hline
Thread Management
& \co{pthread_t}
- & \co{struct} \co{task_struct} \\
+ & \co{struct task_struct} \\
\cline{2-3}
& \co{pthread_create()}
& \co{kthread_create} \\
@@ -1167,7 +1167,7 @@ but may be implemented straightforwardly as follows:
POSIX Locking
& \co{pthread_mutex_t}
& \co{spinlock_t} (rough) \\
- & & \co{struct} \co{mutex} \\
+ & & \co{struct mutex} \\
\cline{2-3}
& \co{PTHREAD_MUTEX_INITIALIZER}
& \co{DEFINE_SPINLOCK()} \\
@@ -1185,7 +1185,7 @@ but may be implemented straightforwardly as follows:
POSIX Reader-Writer
& \co{pthread_rwlock_t}
& \co{rwlock_t} (rough) \\
- Locking & & \co{struct} \co{rw_semaphore} \\
+ Locking & & \co{struct rw_semaphore} \\
\cline{2-3}
& \co{PTHREAD_RWLOCK_INITIALIZER}
& \co{DEFINE_RWLOCK()} \\