Intel® oneAPI Threading Building Blocks Developer Guide and API Reference
A newer version of this document is available. Customers should click here to go to the newest version.
Intel(R) oneAPI Threading Building Blocks (oneTBB) Developer Guide and API Reference
This document contains information about oneTBB. It is a flexible performance library that let you break computation into parallel running tasks.
oneTBB can be found in the Intel® oneAPI Base Toolkit or as a stand-alone product. More information and specifications can be found on the oneAPI Threading Building Blocks (oneTBB) main page.
Documentation for older versions of oneTBB is available for download only. For a list of available documentation downloads by product version, see these pages:
The following are some important topics for the novice user:
Get Started with oneTBB gives you a brief explanation of what oneTBB is.
oneTBB Benefits describes how oneTBB differs from typical threading packages.
Package Contents describes dynamic library files and header files for Windows*, Linux*, and macOS* operating systems used in oneTBB.
The following is an important topic for the experienced user:
Migrating from Threading Building Blocks (TBB) describes how to migrate from TBB to oneTBB.
- Getting Help and Support
- Notational Conventions
- Introduction
- oneTBB Benefits
- Known Limitations
- oneTBB Developer Guide
- Package Contents
- Parallelizing Simple Loops
- Parallelizing Complex Loops
- Parallelizing Data Flow and Dependence Graphs
- Work Isolation
- Exceptions and Cancellation
- Containers
- Mutual Exclusion
- Timing
- Memory Allocation
- The Task Scheduler
- Design Patterns
- Migrating from Threading Building Blocks (TBB)
- Constrained APIs
- Invoke a Callable Object
- Appendix A Costs of Time Slicing
- Appendix B Mixing With Other Threading Packages
- References
- oneTBB API Reference
- Notices and Disclaimers