The Task Scheduler

This section introduces the Intel® Threading Building Blocks (Intel® TBB) task scheduler. The task scheduler is the engine that powers the loop templates. When practical, you should use the loop templates instead of the task scheduler, because the templates hide the complexity of the scheduler. However, if you have an algorithm that does not naturally map onto one of the high-level templates, use the task scheduler. All of the scheduler functionality that is used by the high-level templates is available for you to use directly, so you can build new high-level templates that are just as powerful as the existing ones.

Para obtener información más completa sobre las optimizaciones del compilador, consulte nuestro Aviso de optimización.