March 9, 2008 1 Comment
parallel_do is a new TBB construct. It isn’t even in the Commercial Aligned or Stable releases; I had to install a Development release (tbb20_20080226oss) in order to get access to it.
parallel_do construct is used when you don’t know how much data you have to process.
parallel_do starts up tasks from a list, but these tasks can add further work to the list.
parallel_do only shuts down when the list is empty and all the tasks are done. Read more of this post