Chapter 11

Intel Threading Building Blocks

Abstract

The high-level TBB interfaces for parallel programming are described. At the highest level, TBB proposes a variety of STL-like automatic parallelization algorithms that handle a variety of different parallel patterns. These algorithms are naturally designed to optimize the operation of the underlying task scheduler, and they simplify code design and development. Then, TBB also proposes a direct but simplified access to the most relevant features of the underlying task scheduler, through the task_group environment. This environment provides finer control of the parallel job execution, including the capability of job cancellation. Both approaches are reviewed in detail, including a variety ...

Get Shared Memory Application Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.