Version 11.0 and later of the Intel® C++ Compiler implements C++11 lambda expressions, which make the Intel® Threading Building Blocks (Intel® TBB) parallel_for much easier to use. A lambda expression lets the compiler do the tedious work of creating a function object.
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: