#include <MRTbbTaskArenaAndGroup.h>
Public Member Functions | |
| template<typename F > | |
| void | execute (F &&f) |
| runs given function within this task group and task arena | |
| void | wait () |
Public Attributes | |
| tbb::task_arena | arena |
| tbb::task_group | group |
allows several threads to work on a group of tasks in isolation (in one arena): they cannot steal outside tasks until the all these tasks are finished; this solves the issue of recursive calling of the function where TbbTaskArenaAndGroup was created