Intel® oneAPI Threading Building Blocks Developer Guide and API Reference
ID
772616
Date
4/28/2026
Public
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
Appendix A Costs of Time Slicing
Appendix B Mixing With Other Threading Packages
References
Specification extensions
Preview features
Feature-test Macros
TBB_malloc_replacement_log Function
Custom Assertion Handler
Type-specified message keys for join_node
Scalable Memory Pools
Helper Functions for Expressing Graphs
concurrent_lru_cache
task_group extensions
The customizing mutex type for concurrent_hash_map
Waiting for Single Messages in Flow Graph
parallel_phase Interface for Task Arena
Resource Limiting in the Flow Graph
Core Type Selector for Task Arena Constraints
oneTBB API Reference
For oneTBB API Reference, refer to the oneTBB Specification.
Specification extensions
Intel® oneAPI Threading Building Blocks (oneTBB) implements the oneTBB specification. This document provides additional details or restrictions beyond the specification. It also describes features that are not included in the oneTBB specification.
Preview features
A preview feature is a component of oneTBB introduced to receive early feedback from users.
The key properties of a preview feature are:
It is off by default and must be explicitly enabled.
It is intended to have a high quality implementation.
There is no guarantee of future existence or compatibility.
It may have limited or no support in tools such as correctness analyzers, profilers and debuggers.
CAUTION:
A preview feature is subject to change in future. It might be removed or significantly altered in future releases. Changes to a preview feature do NOT require usual deprecation and removal process. Therefore, using preview features in production code is strongly discouraged.
- Type-specified message keys for join_node
- Scalable Memory Pools
- Helper Functions for Expressing Graphs
- concurrent_lru_cache
- task_group extensions
- The customizing mutex type for concurrent_hash_map
- Waiting for Single Messages in Flow Graph
- parallel_phase Interface for Task Arena
- Resource Limiting in the Flow Graph
- Core Type Selector for Task Arena Constraints