Intel(R) Threading Building Blocks Doxygen Documentation
version 4.2.3
|
#include <task_group.h>
Classes | |
class | ref_count_guard |
Public Member Functions | |
task_group_base (uintptr_t traits=0) | |
~task_group_base () __TBB_NOEXCEPT(false) | |
template<typename F > | |
void | run (task_handle< F > &h) |
task_group_status | wait () |
bool | is_canceling () |
void | cancel () |
Protected Member Functions | |
task & | owner () |
template<typename F > | |
task_group_status | internal_run_and_wait (F &f) |
template<typename Task , typename F > | |
void | internal_run (__TBB_FORWARDING_REF(F) f) |
Protected Attributes | |
empty_task * | my_root |
task_group_context | my_context |
Additional Inherited Members | |
![]() | |
no_copy () | |
Allow default construction. More... | |
Definition at line 80 of file task_group.h.
|
inline |
Definition at line 118 of file task_group.h.
References tbb::task::allocate_root(), my_context, my_root, and tbb::task::set_ref_count().
|
inline |
Definition at line 125 of file task_group.h.
References __TBB_CATCH, __TBB_RETHROW, __TBB_TRY, cancel(), tbb::internal::eid_missing_wait, is_canceling(), my_root, tbb::task::ref_count(), tbb::internal::throw_exception(), and tbb::task::wait_for_all().
|
inline |
Definition at line 175 of file task_group.h.
References tbb::task_group_context::cancel_group_execution(), and my_context.
Referenced by ~task_group_base().
|
inlineprotected |
|
inlineprotected |
Definition at line 98 of file task_group.h.
References __TBB_CATCH, __TBB_TRY, tbb::task_group_context::is_group_execution_cancelled(), my_context, my_root, tbb::task_group_context::register_pending_exception(), and wait().
|
inline |
Definition at line 171 of file task_group.h.
References tbb::task_group_context::is_group_execution_cancelled(), and my_context.
Referenced by ~task_group_base().
|
inlineprotected |
Definition at line 95 of file task_group.h.
References my_root.
Referenced by internal_run().
|
inline |
Definition at line 152 of file task_group.h.
References h.
|
inline |
Definition at line 156 of file task_group.h.
References __TBB_CATCH, __TBB_RETHROW, __TBB_TRY, tbb::canceled, tbb::complete, tbb::task_group_context::is_group_execution_cancelled(), my_context, my_root, tbb::task_group_context::reset(), and tbb::task::wait_for_all().
Referenced by internal_run_and_wait(), and tbb::structured_task_group::wait().
|
protected |
Definition at line 93 of file task_group.h.
Referenced by cancel(), internal_run_and_wait(), is_canceling(), task_group_base(), and wait().
|
protected |
Definition at line 92 of file task_group.h.
Referenced by internal_run(), internal_run_and_wait(), owner(), task_group_base(), wait(), tbb::structured_task_group::wait(), and ~task_group_base().