Intel(R) Threading Building Blocks Doxygen Documentation  version 4.2.3
tbb::internal::parallel_invoke_cleaner Class Reference

#include <parallel_invoke.h>

Inheritance diagram for tbb::internal::parallel_invoke_cleaner:
Collaboration diagram for tbb::internal::parallel_invoke_cleaner:

Public Member Functions

 parallel_invoke_cleaner (int number_of_children, tbb::task_group_context &context)
 
 ~parallel_invoke_cleaner ()
 

Public Attributes

internal::parallel_invoke_helper & root
 

Additional Inherited Members

- Private Member Functions inherited from tbb::internal::no_copy
 no_copy ()
 Allow default construction. More...
 

Detailed Description

Definition at line 173 of file parallel_invoke.h.

Constructor & Destructor Documentation

◆ parallel_invoke_cleaner()

tbb::internal::parallel_invoke_cleaner::parallel_invoke_cleaner ( int  number_of_children,
tbb::task_group_context context 
)
inline

Definition at line 176 of file parallel_invoke.h.

177  : root(*new(task::allocate_root(context)) internal::parallel_invoke_helper(number_of_children))
178 #else
179  parallel_invoke_cleaner(int number_of_children, tbb::task_group_context&)
180  : root(*new(task::allocate_root()) internal::parallel_invoke_helper(number_of_children))
181 #endif /* !__TBB_TASK_GROUP_CONTEXT */
182  {}
Used to form groups of tasks.
Definition: task.h:335
internal::parallel_invoke_helper & root
void const char const char int ITT_FORMAT __itt_group_sync x void const char ITT_FORMAT __itt_group_sync s void ITT_FORMAT __itt_group_sync p void ITT_FORMAT p void ITT_FORMAT p no args __itt_suppress_mode_t unsigned int void size_t ITT_FORMAT d void ITT_FORMAT p void ITT_FORMAT p __itt_model_site __itt_model_site_instance ITT_FORMAT p __itt_model_task * task
parallel_invoke_cleaner(int number_of_children, tbb::task_group_context &context)
static internal::allocate_root_proxy allocate_root()
Returns proxy for overloaded new that allocates a root task.
Definition: task.h:636

◆ ~parallel_invoke_cleaner()

tbb::internal::parallel_invoke_cleaner::~parallel_invoke_cleaner ( )
inline

Definition at line 184 of file parallel_invoke.h.

184  {
185  root.destroy(root);
186  }
internal::parallel_invoke_helper & root

References root.

Member Data Documentation

◆ root

internal::parallel_invoke_helper& tbb::internal::parallel_invoke_cleaner::root

Definition at line 187 of file parallel_invoke.h.

Referenced by ~parallel_invoke_cleaner().


The documentation for this class was generated from the following file:

Copyright © 2005-2019 Intel Corporation. All Rights Reserved.

Intel, Pentium, Intel Xeon, Itanium, Intel XScale and VTune are registered trademarks or trademarks of Intel Corporation or its subsidiaries in the United States and other countries.

* Other names and brands may be claimed as the property of others.