I'm trying to build a task tree then execute it (in the context of game development). Composite tasks can run either in parallel on sequentially. However, I'm running into an assert:
Assertion child->prefix().owner==this failed on line 2173 of file ../../src/tbb/
Does this mean I shouldn't have allocated the task tree before launching the root task? Are there any ways to keep tasks around for multiple execution without having to recycle the whole thing repeatedly? How else should I implement my task tree using TBB? Keep my own tasks separate and spawn tbb::task objects dynamically as I traverse this other tree?
Assertion child->prefix().owner==this failed