Discussions of the Parallel Programming book
 help / color / mirror / Atom feed
* [PATCH 1/2] toolsoftrade: Add a missed unbreakable space for line number
@ 2018-02-04 22:11 SeongJae Park
  2018-02-04 22:11 ` [PATCH 2/2] toolsoftrade: Use `\path{}` for filename SeongJae Park
  2018-02-05  1:32 ` [PATCH 1/2] toolsoftrade: Add a missed unbreakable space for line number Paul E. McKenney
  0 siblings, 2 replies; 3+ messages in thread
From: SeongJae Park @ 2018-02-04 22:11 UTC (permalink / raw)
  To: paulmck; +Cc: perfbook, SeongJae Park

Signed-off-by: SeongJae Park <sj38.park@gmail.com>
---
 toolsoftrade/toolsoftrade.tex | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/toolsoftrade/toolsoftrade.tex b/toolsoftrade/toolsoftrade.tex
index e7a922b..ac25855 100644
--- a/toolsoftrade/toolsoftrade.tex
+++ b/toolsoftrade/toolsoftrade.tex
@@ -272,7 +272,7 @@ If the process ID is instead $-1$, this indicates that the \co{wait()}
 primitive was unable to wait on a child.
 If so, line~9 checks for the \co{ECHILD} errno, which indicates that there
 are no more child processes, so that line~10 exits the loop.
-Otherwise, lines~11 and 12 print an error and exit.
+Otherwise, lines~11 and~12 print an error and exit.

 \QuickQuiz{}
 	Why does this \co{wait()} primitive need to be so complicated?
-- 
2.10.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 2/2] toolsoftrade: Use `\path{}` for filename
  2018-02-04 22:11 [PATCH 1/2] toolsoftrade: Add a missed unbreakable space for line number SeongJae Park
@ 2018-02-04 22:11 ` SeongJae Park
  2018-02-05  1:32 ` [PATCH 1/2] toolsoftrade: Add a missed unbreakable space for line number Paul E. McKenney
  1 sibling, 0 replies; 3+ messages in thread
From: SeongJae Park @ 2018-02-04 22:11 UTC (permalink / raw)
  To: paulmck; +Cc: perfbook, SeongJae Park

A file name in toolsoftrade chapter is using `\co{}`.  This commit fixes
it to use `\path{}` instead as 'Style Guide' chapter mentions.

Signed-off-by: SeongJae Park <sj38.park@gmail.com>
---
 toolsoftrade/toolsoftrade.tex | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/toolsoftrade/toolsoftrade.tex b/toolsoftrade/toolsoftrade.tex
index ac25855..1ac7a34 100644
--- a/toolsoftrade/toolsoftrade.tex
+++ b/toolsoftrade/toolsoftrade.tex
@@ -107,7 +107,7 @@ grep $pattern1 | sed -e 's/a/b/' | sort
 	For a sufficiently large input file,
 	\co{grep} will pattern-match in parallel with \co{sed}
 	editing and with the input processing of \co{sort}.
-	See the file \co{parallel.sh} for a demonstration of
+	See the file \path{parallel.sh} for a demonstration of
 	shell-script parallelism and pipelining.
 } \QuickQuizEnd

-- 
2.10.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/2] toolsoftrade: Add a missed unbreakable space for line number
  2018-02-04 22:11 [PATCH 1/2] toolsoftrade: Add a missed unbreakable space for line number SeongJae Park
  2018-02-04 22:11 ` [PATCH 2/2] toolsoftrade: Use `\path{}` for filename SeongJae Park
@ 2018-02-05  1:32 ` Paul E. McKenney
  1 sibling, 0 replies; 3+ messages in thread
From: Paul E. McKenney @ 2018-02-05  1:32 UTC (permalink / raw)
  To: SeongJae Park; +Cc: perfbook

On Mon, Feb 05, 2018 at 07:11:34AM +0900, SeongJae Park wrote:
> Signed-off-by: SeongJae Park <sj38.park@gmail.com>

Good catches, both applied, thank you!

							Thanx, Paul

> ---
>  toolsoftrade/toolsoftrade.tex | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/toolsoftrade/toolsoftrade.tex b/toolsoftrade/toolsoftrade.tex
> index e7a922b..ac25855 100644
> --- a/toolsoftrade/toolsoftrade.tex
> +++ b/toolsoftrade/toolsoftrade.tex
> @@ -272,7 +272,7 @@ If the process ID is instead $-1$, this indicates that the \co{wait()}
>  primitive was unable to wait on a child.
>  If so, line~9 checks for the \co{ECHILD} errno, which indicates that there
>  are no more child processes, so that line~10 exits the loop.
> -Otherwise, lines~11 and 12 print an error and exit.
> +Otherwise, lines~11 and~12 print an error and exit.
> 
>  \QuickQuiz{}
>  	Why does this \co{wait()} primitive need to be so complicated?
> -- 
> 2.10.0
> 


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-02-05  1:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-04 22:11 [PATCH 1/2] toolsoftrade: Add a missed unbreakable space for line number SeongJae Park
2018-02-04 22:11 ` [PATCH 2/2] toolsoftrade: Use `\path{}` for filename SeongJae Park
2018-02-05  1:32 ` [PATCH 1/2] toolsoftrade: Add a missed unbreakable space for line number Paul E. McKenney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox