Intel TBB Open Source
Intel threading building blocks is a C ++ concurrent library mainly used for high-performance C ++ program development.
The main advantage is that it does not have compiler requirements like OpenMP and supports more concurrent models.
TBB is currently open-source under the GPL protocol and can be downloaded from the website to the source code and compiled DLL. if you slightly modify the source code, you can compile a static version. the main function is to remove the content in dllmain to the Init () and Fini () functions.
The following is a brief introduction to TBB.
Currently, TBB 2.0 includes the following parts:
1. Parallel for/while and other parallel algorithm Libraries
2. Parallel containers, including concurrent hashmap optimized for Cache
3. multi-thread concurrent memory distributor
4. c ++ encapsulation of synchronization primitives
5. High-precision timing mechanism
6. Concurrency models such as the task Programming Model pipeline Programming Model
Especially for the pipeline model, this model has great advantages when there are more than 32 hardware threads.