# 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.

Parent topic: Intel® Threading Building Blocks (Intel® TBB) User Guide

- Task-Based Programming
- When Task-Based Programming Is Inappropriate
- Simple Example: Fibonacci Numbers
- How Task Scheduling Works
- Useful Task Techniques
- General Acyclic Graphs of Tasks
- Task Scheduler Summary