What is the diffrence between parallel_for, parallel_for_each and parallel_do?
It is all explained in the User Guide that is available on the TBB website (and since recently in each distribution).
Even easier, here's the link:
Sorry, for bothering. But TBB docs aren't so SEO friendly. I had hard time finding about parallel_for_each.
well, it looks it not SEO problem, it is rather search is broken for user guide:) i'll check.
meanwhile search works for reference manual http://threadingbuildingblocks.org/docs/help/index.htm#reference/reference.htm
Try the reference manual, under Algorithms, listed between parallel_do and pipeline algorithms.
BTW, you guys should really improve documentation. As a newbie, I've some difficulties. And please add syntax highlighting and a decent member function list like java doc.