I've got an existing game engine that uses TBB
What I'm trying to work around is that if too many tasks are spawned it hitches.
Anyway the general layout is like this:
1. main loop: spawns a few tasks using task_group, then calls wait()
2. one of these tasks spawned in the task_group contains a flow graph, the graph is executed.