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 169 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 172 of file parallel_invoke.h.

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

◆ ~parallel_invoke_cleaner()

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

Definition at line 180 of file parallel_invoke.h.

180  {
181  root.destroy(root);
182  }
internal::parallel_invoke_helper & root

Member Data Documentation

◆ root

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

Definition at line 183 of file parallel_invoke.h.


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.