#include <MRTbbTaskArenaAndGroup.h>
|
template<typename F > |
void | execute (F &&f) |
| runs given function within this task group and task arena
|
|
void | wait () |
|
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
◆ execute()
template<typename F >
void MR::TbbTaskArenaAndGroup::execute |
( |
F && | f | ) |
|
|
inline |
runs given function within this task group and task arena
◆ wait()
void MR::TbbTaskArenaAndGroup::wait |
( |
| ) |
|
|
inline |
waits till all tasks are done, joining to their execution; wait() must be called before this class destruction
◆ arena
tbb::task_arena MR::TbbTaskArenaAndGroup::arena |
◆ group
tbb::task_group MR::TbbTaskArenaAndGroup::group |
The documentation for this struct was generated from the following file: