1

Closed

Book Errata

description

This issue is designed for tracking errata in the book text. Things like minor typos.
 
Page 65
 
On page 65 of the Preliminary Draft there is a typo: "form" should be "from." This is found in the following text:
 
"Bypassing the Thread Pool If you don’t want a task to use a worker thread form the thread pool, you can create a new thread for its dedicated use."
Closed Oct 19, 2012 at 3:09 AM by AdeMiller
All the comments here have been migrated to the O'Reilly errata page.http://www.oreillynet.com/oreilly/authors/errata.csp?b=0790145310262

comments

AdeMiller wrote Jan 6, 2011 at 8:55 PM

Additional Errata submitted to O'Reilly:
PDF Minor technical mistake Change "the loop index" to "a loop-indexed variable" Loop-carried dependence. If the body of a parallel for loop performs arithmetic on the loop index, there is likely to be a dependency that is known as loop-carried dependence. Should be Loop-carried dependence. If the body of a parallel for loop performs arithmetic on… 
View details and modify status »

Submitted by: Steve Bearman
Send a response »
Needs Review
PDF Minor technical mistake Change "percent" to "fraction": Amdahl�s law says that no matter how many cores you have, the maximum speedup you can ever achieve is (1 / percent of time spent in sequential processing). Should be Amdahl�s law says that no matter how many cores you have, the maximum speedup you can ever achieve… 
View details and modify status »

Submitted by: Steve Bearman
Send a response »
Needs Review
Printed, PDF    Language change or typo The word consumer is mispelled in the following sentence: Pipelines are expressions of a general technique known as producer/ cotnsumer.
View details and modify status »

Submitted by: genegw
Send a response »
Needs Review

AdeMiller wrote Jan 12, 2011 at 3:23 AM

The ISBN you got from O’Reilly, listed below, and which is printed inside the Parallel Programming with Microsoft.NET book on the copyright page is incorrect. If you go to Amazon, for instance, and search by ISBN number, the book you get is Parallel Programming with Microsoft Visual Studio 2010 Step by Step, written by Doris Marshall. The ISBN number for our book is listed on Amazon as 9780735651593. The bar code on the back of our book is the correct number. It’s not a really big deal but just thought you should know.

jsh003guardz63 wrote Jul 19, 2011 at 2:31 PM

Minor typo - page 99. "that implied data flow" should be "than implied data flow".

jsh003guardz63 wrote Jul 19, 2011 at 3:15 PM

The explanation of performance characteristics of pipelines on p121 needs clarification and possibly correction.

In particular, “If there are enough available cores and if all stages of a pipeline take an equal amount of time, the execution time for the pipeline as a whole is the same as the time for just one stage”, would appear to be incorrect.

If:
S = the number of stages in figure 4 (= 4)
N = the number of images in figure 4 (= 6)
T = the duration to process one stage for one image (= t1 - t0 = t2 – t1)
Then:
The elapsed time for a completely parallel and completely efficient pipeline is (S+N-1) * T.
The elapsed time taken for one stage = N * T.
But:
(S+N-1) x T is only equal to N * T when S = 1.
If the sidebar on p121 is referring to the case where S = 1, the phrasing of that sidebar needs changing, as it currently implies that (S+N-1) x T = N * T for any S. If the sidebar isn't referring to the case where S = 1, it needs re-wording as its intended meaning is unclear and/or incorrect. Possibly, it's trying to say that each core has an equal execution time, but I don't think that's the intended meaning...