Home ⌂Doc Index ◂Up ▴
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_helperroot
 

Additional Inherited Members

- Private Member Functions inherited from tbb::internal::no_copy
 no_copy (const no_copy &)=delete
 
 no_copy ()=default
 

Detailed Description

Definition at line 172 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 175 of file parallel_invoke.h.

176  : root(*new(task::allocate_root(context)) internal::parallel_invoke_helper(number_of_children))
177 #else
178  parallel_invoke_cleaner(int number_of_children, tbb::task_group_context&)
179  : root(*new(task::allocate_root()) internal::parallel_invoke_helper(number_of_children))
180 #endif /* !__TBB_TASK_GROUP_CONTEXT */
181  {}
Used to form groups of tasks.
Definition: task.h:358
static internal::allocate_root_proxy allocate_root()
Returns proxy for overloaded new that allocates a root task.
Definition: task.h:663
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)

◆ ~parallel_invoke_cleaner()

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

Definition at line 183 of file parallel_invoke.h.

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

References root.

Member Data Documentation

◆ root

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

Definition at line 186 of file parallel_invoke.h.

Referenced by tbb::parallel_invoke(), and ~parallel_invoke_cleaner().


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

Copyright © 2005-2020 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.