Dear TBB experts !
I would like to know what is the best solution to the following simple problem. I want to perfom a parallel_for with a work functor that requires some workspace (e.g. an array that should not be accessed concurently.
1) The simplest solution is to use an automatic vector inside the () operator of my functor