
Chapter 10
Pattern: Task Parallelism
10.1 Supporting algorithm structures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
10.2 Case study: Genetic algorithms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 215
10.3 Case study: Mandelbrot set computation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222
10.4 Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 230
Objectives:
• Introduce the task parallel pattern and supporting algorithmic struc-
tures.
• Discuss two examples of