C++

PPL Compatibility

Classes critical_section and reader_writer_lock exist for compatibility with the Microsoft Parallel Patterns Library (PPL). They do not follow all of the conventions of other mutexes in Intel® Threading Building Blocks.

Design Patterns

This section provides some common parallel programming patterns and how to implement them in Intel® Threading Building Blocks (Intel® TBB).

The description of each pattern has the following format:

  • Problem – describes the problem to be solved.

Empty Tasks

You might need a task that does not do anything but wait for its children to complete. The header task.h defines class empty_task for this purpose. Its definition is as follows:

S’abonner à C++