Módulos Intel® de subprocesamiento

Initializing and Terminating the Library

Intel® Threading Building Blocks (Intel® TBB) 2.2 and later automatically initializes the task scheduler. You can use class task_scheduler_init to explicitly initialize the task scheduler, which can be useful for doing any of the following:

  • Control when the task scheduler is constructed and destroyed.

  • Specify the number of threads used by the task scheduler.

  • Specify the stack size for worker threads.

Summary of Loops and Pipelines

The high-level loop and pipeline templates in Intel® Threading Building Blocks give you efficient scalable ways to exploit the power of multi-core chips without having to start from scratch. They let you design your software at a high task-pattern level and not worry about low-level manipulation of threads. Because they are generic, you can customize them to your specific needs. Have fun using these templates to unlock the power of multi-core.

Non-Preemptive Priorities


Choose the next work item to do, based on priorities.


The scheduler in Intel® Threading Building Blocks (Intel® TBB) chooses tasks using rules based on scalability concerns. The rules are based on the order in which tasks were spawned or enqueued, and are oblivious to the contents of tasks. However, sometimes it is best to choose work based on some kind of priority relationship.

Suscribirse a Módulos Intel® de subprocesamiento