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 81 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 84 of file task_group.h.

References tbb::task::increment_ref_count().

84  : my_task(t) {
86  }
void increment_ref_count()
Atomically increment reference count.
Definition: task.h:741
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 87 of file task_group.h.

References tbb::task::decrement_ref_count().

87  {
89  }
int decrement_ref_count()
Atomically decrement reference count and returns its new value.
Definition: task.h:758
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 82 of file task_group.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.