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 | |
template<typename F > | |
task_group_status | internal_run_and_wait (F &f) |
template<typename Task , typename F > | |
task * | prepare_task (__TBB_FORWARDING_REF(F) f) |
Protected Attributes | |
empty_task * | my_root |
task_group_context | my_context |
Additional Inherited Members | |
![]() | |
no_copy (const no_copy &)=delete | |
no_copy ()=default | |
Definition at line 92 of file task_group.h.
|
inline |
Definition at line 128 of file task_group.h.
References tbb::task::allocate_root(), my_context, my_root, and tbb::task::set_ref_count().
|
inline |
Definition at line 135 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 185 of file task_group.h.
References tbb::task_group_context::cancel_group_execution(), and my_context.
Referenced by ~task_group_base().
|
inlineprotected |
Definition at line 108 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 181 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 123 of file task_group.h.
References my_root.
Referenced by run(), and tbb::task_group::run().
|
inline |
Definition at line 162 of file task_group.h.
References h, and prepare_task().
|
inline |
Definition at line 166 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 105 of file task_group.h.
Referenced by cancel(), internal_run_and_wait(), is_canceling(), task_group_base(), and wait().
|
protected |
Definition at line 104 of file task_group.h.
Referenced by internal_run_and_wait(), prepare_task(), task_group_base(), wait(), and ~task_group_base().