encyclopegia.org

Threading Building Blocks

oneAPI Threading Building Blocks (oneTBB; formerly Threading Building Blocks or TBB) is a C++ template library developed by Intel for parallel programming on multi-core processors.[src] Using TBB, a computation is broken down into tasks that can run in parallel.[src] The library manages and schedules threads to execute these tasks.[src]

oneAPI Threading Building Blocks (oneTBB; formerly Threading Building Blocks or TBB) is a C++ template library developed by Intel for parallel programming on multi-core processors.[src] Using TBB, a computation is broken down into tasks that can run in parallel.[src] The library manages and schedules threads to execute these tasks.[src] ==Overview== A oneTBB program creates, synchronizes, and destroys graphs of dependent tasks according to algorithms, i.e.[src] high-level parallel programming paradigms (a.k.a.[src] Algorithmic Skeletons).[src] Tasks are then executed respecting graph dependencies.[src] This approach groups TBB in a family of techniques for parallel programming aiming to decouple the programming from the particulars of the underlying machine.[src] oneTBB implements work stealing to balance a parallel workload across available processing cores in order to increase core utilization and therefore scaling.[src] Initially, the workload is evenly divided among the available processor cores.[src] If one core completes its work while other cores still have a significant amount of work in their queue, oneTBB reassigns some of the work from one of the busy cores to the idle core.[src] This dynamic capability decouples the programmer from the machine, allowing applications written using the library to scale to utilize the available processing cores with no changes to the source code or the executable program file.[src] In a 2008 assessment of the work stealing implementation in TBB, researchers from Princeton University found that it was suboptimal for large numbers of processors cores, causing up to 47% of computing time spent in scheduling overhead when running certain benchmarks on a 32-core system.[src] oneTBB, like the STL (and the part of the C++ standard library based on it), uses templates extensively.[src] This has the advantage of low-overhead polymorphism, since templates are a compile-time construct which modern C++ compilers can largely optimize away.[src] oneTBB is available commercially as a binary distribution with support, and as open-source software in both source and binary forms.[src] oneTBB does not provide guarantees of determinism or freedom from data races.[src] ==Library contents== oneTBB is a collection of components for parallel programming: Basic algorithms: parallel_for , parallel_reduce , parallel_scan Advanced algorithms: parallel_pipeline , parallel_sort Containers: concurrent_queue , concurrent_priority_queue , concurrent_vector , concurrent_hash_map , concurrent_unordered_map , concurrent_unordered_set , concurrent_map , concurrent_set Memory allocation: scalable_malloc , scalable_free , scalable_realloc , scalable_calloc , scalable_allocator , cache_aligned_allocator Mutual exclusion: mutex , spin_mutex , queuing_mutex , spin_rw_mutex , queuing_rw_mutex , recursive_mutex Timing: portable fine grained global time stamp Task scheduler: direct access to control the creation and activation of tasks ==See also== Intel oneAPI Base Toolkit Intel Integrated Performance Primitives (IPP) Intel oneAPI Data Analytics Library (oneDAL) Intel oneAPI Math Kernel Library (oneMKL) Intel Cryptography Primitives Library Intel Advisor Intel Inspector Intel VTune Profiler Intel Concurrent Collections (CnC) Algorithmic skeleton Parallel computing List of C++ multi-threading libraries List of C++ template libraries Parallel Patterns Library Grand Central Dispatch (GCD) Software Architecture Building Blocks ==Notes== ==References== ==External links== oneTBB Industry Specification at Intel[src]

21 sentences · 21 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Threading Building Blocks." encyclopegia.org, 2025, https://encyclopegia.org/wiki/threading-building-blocks. Accessed 01 December 2026.

Chicago

"Threading Building Blocks." encyclopegia.org. Accessed December 1, 2026. https://encyclopegia.org/wiki/threading-building-blocks.

APA

encyclopegia.org. (2025). Threading Building Blocks. Retrieved December 1, 2026, from https://encyclopegia.org/wiki/threading-building-blocks

Accessed December 1, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Hungarian Parliament Building

stub · references available

Asia Building

stub · references available

China Merchants Bank Building

stub · references available

Bank of China Building

stub · references available

Presidential Office Building

stub · references available

J. Edgar Hoover Building

stub · references available

Jewell Building

stub · references available

Triangle building

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1291436067 · 0.5 · snapshot enwiki-001291436067

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools
  • Careers — open roles: frontier engineers and sales partners
  • Index — every corpus, paper and record
  • Estate guide — what a public data estate is
  • Founder — Lois-Kleinner Alpasan
  • Records — DOIs and external deposits
  • Documents — one-pagers, PDFs and QR codes
  • Brand kit — logos and share images
  • Papers — plain-language briefs with citations
  • Browser — search engine, PWA and bookmarklet
  • Anticloud — the operator and its projects

As seen in Business Insider · 336 outlets · evidence DOIs · plain-language papers

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.