The plug-in simplifies integration of Intel® Threading Building Blocks (Intel® TBB) into Microsoft Visual Studio* projects. It can be downloaded from http://threadingbuildingblocks.org > Downloads > Extras. The plug-in enables you to quickly add the following to Microsoft Visual C++* projects:
The path to the Intel® TBB header files
The path to the Intel® TBB libraries
For some loops, the end of the iteration space is not known in advance, or the loop body may add more iterations to do before the loop exits. You can deal with both situations using the template class tbb::parallel_do.
Queues are widely used in parallel programs to buffer consumers from producers. Before using an explicit queue, however, consider using parallel_do or pipeline instead. These options are often more efficient than queues for the following reasons:
A queue is inherently a bottle neck, because it must maintain first-in first-out order.
- Page 1