Chapter 16

Using the TBB Task Scheduler

Abstract

This chapter deals with the programming interfaces enabling direct access to all the features of the TBB task scheduler. A complete description of the TBB task scheduler API is presented. The higher level programming interfaces discussed in Chapter 11 are sufficient in most cases, but some specific features—like task synchronizations—are only accessible through the task scheduler API. Task synchronizations are implemented by establishing hierarchical relations among tasks to organize the way they are scheduled and executed, and several examples are given for these advanced features. Other advanced synchronization features made available by the task scheduler are also discussed, possible optimization ...

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.