>From 554632b41d91d5c8aa8eb217d2709d9cf0e56a02 Mon Sep 17 00:00:00 2001 From: Akira Yokosawa <akiyks@xxxxxxxxx> Date: Sat, 6 Aug 2016 23:29:46 +0900 Subject: [PATCH 1/5] Trial use of extdash package with shortcuts option Signed-off-by: Akira Yokosawa <akiyks@xxxxxxxxx> --- count/count.tex | 4 ++-- howto/howto.tex | 2 +- intro/intro.tex | 6 +++--- perfbook.tex | 1 + toolsoftrade/toolsoftrade.tex | 2 +- 5 files changed, 8 insertions(+), 7 deletions(-) diff --git a/count/count.tex b/count/count.tex index dbb3530..29ad3fb 100644 --- a/count/count.tex +++ b/count/count.tex @@ -895,7 +895,7 @@ comes at the cost of the additional thread running \co{eventual()}. } \QuickQuizEnd \QuickQuiz{} - Given that in the eventually-consistent algorithm shown in + Given that in the eventually\-/consistent algorithm shown in Figure~\ref{fig:count:Array-Based Per-Thread Eventually Consistent Counters} both reads and updates have extremely low overhead and are extremely scalable, why would anyone bother with the @@ -904,7 +904,7 @@ comes at the cost of the additional thread running \co{eventual()}. given its costly read-side code? \QuickQuizAnswer{ The thread executing \co{eventual()} consumes CPU time. - As more of these eventually-consistent counters are added, + As more of these eventually\-/consistent counters are added, the resulting \co{eventual()} threads will eventually consume all available CPUs. This implementation therefore suffers a different sort of diff --git a/howto/howto.tex b/howto/howto.tex index 63ca842..753a89f 100644 --- a/howto/howto.tex +++ b/howto/howto.tex @@ -270,7 +270,7 @@ Fortunately, there are many alternatives available to you: the first formally published academic textbook to include a section devoted to RCU. \item If you would like an academic treatment of parallel - programming from a programming-language-pragmatics viewpoint, + programming from a programming\-/language\-/pragmatics viewpoint, you might be interested in the concurrency chapter from Scott's textbook~\cite{MichaelScott2006Textbook} on programming-language pragmatics. diff --git a/intro/intro.tex b/intro/intro.tex index 4527f19..e54e5ad 100644 --- a/intro/intro.tex +++ b/intro/intro.tex @@ -108,7 +108,7 @@ and message-passing systems~\cite{OpenMPI2008,BOINC2008}. This book will draw primarily from the Linux kernel, but will provide much material suitable for user-level applications. -Fourth, even though the large-scale parallel-programming projects of +Fourth, even though the large-scale parallel\-/programming projects of the 1980s and 1990s were almost all proprietary projects, these projects have seeded other communities with a cadre of developers who understand the engineering discipline required to develop production-quality @@ -731,8 +731,8 @@ difficult issues surrounding parallelism and persistence. In addition, there are a growing number of parallel library functions, particularly for numeric computation. -Even better, some libraries take advantage of special-purpose -hardware such as vector units and general-purpose graphical processing +Even better, some libraries take advantage of special\-/purpose +hardware such as vector units and general\-/purpose graphical processing units (GPGPUs). Taking this approach often sacrifices some performance, at least when diff --git a/perfbook.tex b/perfbook.tex index 95902be..34059e0 100644 --- a/perfbook.tex +++ b/perfbook.tex @@ -19,6 +19,7 @@ \usepackage{enumerate} \usepackage{ifthen} \usepackage{xcolor} +\usepackage[shortcuts]{extdash} \usepackage{listings} \lstset{basicstyle=\ttfamily} % \usepackage[strings]{underscore} diff --git a/toolsoftrade/toolsoftrade.tex b/toolsoftrade/toolsoftrade.tex index 97f46fc..9ed50fe 100644 --- a/toolsoftrade/toolsoftrade.tex +++ b/toolsoftrade/toolsoftrade.tex @@ -785,7 +785,7 @@ values of \co{x} stored by \co{lock_writer()}. One possible exception to this rule is ``transactional memory'', which is currently a research topic. - Transactional-memory semantics can be loosely thought of as those + Transactional\-/memory semantics can be loosely thought of as those of a single global lock with optimizations permitted and with the addition of rollback~\cite{HansJBoehm2009HOTPAR}. } \QuickQuizEnd -- 1.9.1 -- 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