In a previous thread here (which I am now unable to now locate) I asked if it was okay to nest cilk_spawn functions. The reply was yes.
The next questions then is it okay to nest a cilk_spawn function call; with a cilk_for call. In other words cilk_spawn calls a function and in that function there is cilk_for?
I know that it is not a good idea to put cilk_spawn calls inside of a for or cilk_for function.