[PATCH -perfbook 2/6] locking, defer: POC of bold face page number in index

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

 



Example uses of \IXB (for deadlock) and \IXBacrfst (for acronym RCU).

Note: Use of \IXB{} can conflict with a nearby normal \IX{}.
Such a \IB{Deadlock} tag in locking/locking.tex is removed.

Signed-off-by: Akira Yokosawa <akiyks@xxxxxxxxx>
---
 defer/rcu.tex       | 2 +-
 glsdict.tex         | 1 +
 locking/locking.tex | 4 ++--
 3 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/defer/rcu.tex b/defer/rcu.tex
index e11d1f8b..7909fce7 100644
--- a/defer/rcu.tex
+++ b/defer/rcu.tex
@@ -35,7 +35,7 @@ primitives.
 These schemes' shortcomings raise the question of
 whether it is possible to do better.
 
-This section introduces \emph{read-copy update} (RCU), which provides
+This section introduces \IXBacrfst{rcu}, which provides
 an API that allows readers to be associated with regions in the source code,
 rather than with expensive updates to frequently updated shared data.
 The remainder of this
diff --git a/glsdict.tex b/glsdict.tex
index c2b2d050..3dafda06 100644
--- a/glsdict.tex
+++ b/glsdict.tex
@@ -193,6 +193,7 @@
 \newcommand{\IXAcrf}[1]{\glsuseri{#1}\Acrf{#1}} % put index via acronym dictionary (full form, upper case)
 \newcommand{\IXAcrfpl}[1]{\glsuseri{#1}\Acrfpl{#1}} % put index via acronym dictionary (full form, upper case, plural)
 \newcommand{\IXacrfst}[1]{\glsuseri{#1}\acrfst{#1}} % put index via acronym dictionary (first form)
+\newcommand{\IXBacrfst}[1]{\glsuserii{#1}\acrfst{#1}} % put index via acronym dictionary (first form)
 \newcommand{\IXacrfstpl}[1]{\glsuseri{#1}\acrfstpl{#1}} % put index via acronym dictionary (first form, plural)
 \newcommand{\IXAcrfst}[1]{\glsuseri{#1}\Acrfst{#1}} % put index via acronym dictionary (first form, upper case)
 \newcommand{\IXAcrfstpl}[1]{\glsuseri{#1}\Acrfstpl{#1}} % put index via acronym dictionary (first form, upper case, plural)
diff --git a/locking/locking.tex b/locking/locking.tex
index 851a1f00..c223d40c 100644
--- a/locking/locking.tex
+++ b/locking/locking.tex
@@ -11,7 +11,7 @@
 	  quoting}}
 
 In recent concurrency research, locking often plays the role of villain.
-\IX{Locking} stands accused of inciting \IXpl{deadlock}, convoying, \IX{starvation},
+\IX{Locking} stands accused of inciting deadlocks, convoying, \IX{starvation},
 \IX{unfairness}, \IXpl{data race}, and all manner of other concurrency sins.
 Interestingly enough, the role of workhorse in production-quality
 shared-memory parallel software is also played by locking.
@@ -107,7 +107,7 @@ unfairness, and inefficiency.
 \subsection{Deadlock}
 \label{sec:locking:Deadlock}
 
-\IX{Deadlock} occurs when each member of a group of threads is holding at
+\IXB{Deadlock} occurs when each member of a group of threads is holding at
 least one lock while at the same time waiting on a lock held by a member
 of that same group.
 This happens even in groups containing a single thread when that thread
-- 
2.17.1





[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