Chapter 2 – Parallel Loops
Use the Parallel Loop pattern when you need to perform the same independent operation for each element of a collection or for a fixed number of iterations. The steps of a loop are independent if they don’t write to memory locations or files that are read by other steps.
The PDF on CodePlex also includes the latest versions of the Preface, Introduction and Chapters 6 & 7 with modifications based on reviewer feedback.
In addition to the new text we’ve also published the samples to all the chapters including Chpater 5 – Futures. Each chapter contains basic samples of using the Parallel Pattern Library or Asynchronous Agents Library as well as a complete example that shows a more real world application and demonstrates both a sequential and parallel solutions.
We would really like feedback on both the text and the samples. Please download them from CodePlex and post your feedback or questions there.