Intel(R) Threading Building Blocks Doxygen Documentation  version 4.2.3
tbb::internal::task_group_base::ref_count_guard Class Reference
Inheritance diagram for tbb::internal::task_group_base::ref_count_guard:
Collaboration diagram for tbb::internal::task_group_base::ref_count_guard:

Public Member Functions

 ref_count_guard (task &t)
 
 ~ref_count_guard ()
 

Private Attributes

taskmy_task
 

Additional Inherited Members

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

Detailed Description

Definition at line 85 of file task_group.h.

Constructor & Destructor Documentation

◆ ref_count_guard()

tbb::internal::task_group_base::ref_count_guard::ref_count_guard ( task t)
inline

Definition at line 88 of file task_group.h.

88  : my_task(t) {
90  }
void increment_ref_count()
Atomically increment reference count.
Definition: task.h:744

References tbb::task::increment_ref_count(), and my_task.

Here is the call graph for this function:

◆ ~ref_count_guard()

tbb::internal::task_group_base::ref_count_guard::~ref_count_guard ( )
inline

Definition at line 91 of file task_group.h.

91  {
93  }
int decrement_ref_count()
Atomically decrement reference count and returns its new value.
Definition: task.h:761

References tbb::task::decrement_ref_count(), and my_task.

Here is the call graph for this function:

Member Data Documentation

◆ my_task

task& tbb::internal::task_group_base::ref_count_guard::my_task
private

Definition at line 86 of file task_group.h.

Referenced by ref_count_guard(), and ~ref_count_guard().


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.