By Alexey Murashov
Here is an introduction to a new template function recently added to TBB – tbb::parallel_invoke. It provides TBB users a simple way to run several functions in parallel. So, for example, if you have three functions that do some work and you would like to run them simultaneously, you may write the following TBB code.
void Function1();
void Function2();
void Function3();
void RunFunctions() {
tbb::parallel_invoke(Function1, Function2, Function3);
}


