Home ⌂Doc Index ◂Up ▴
Intel(R) Threading Building Blocks Doxygen Documentation  version 4.2.3
tbb::internal::concurrent_vector_base_v3::helper::destroy_body Struct Reference
Collaboration diagram for tbb::internal::concurrent_vector_base_v3::helper::destroy_body:

Public Member Functions

 destroy_body (internal_array_op1 destroy)
 
void operator() (segment_t &s, void *begin, size_type n) const
 

Public Attributes

internal_array_op1 func
 

Detailed Description

Definition at line 186 of file concurrent_vector.cpp.

Constructor & Destructor Documentation

◆ destroy_body()

tbb::internal::concurrent_vector_base_v3::helper::destroy_body::destroy_body ( internal_array_op1  destroy)
inline

Definition at line 188 of file concurrent_vector.cpp.

Member Function Documentation

◆ operator()()

void tbb::internal::concurrent_vector_base_v3::helper::destroy_body::operator() ( segment_t s,
void begin,
size_type  n 
) const
inline

Definition at line 189 of file concurrent_vector.cpp.

189  {
190  if(s.load<relaxed>() == segment_allocated())
191  func( begin, n );
192  }
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 __itt_model_task_instance ITT_FORMAT p void ITT_FORMAT p void ITT_FORMAT p void size_t ITT_FORMAT d void ITT_FORMAT p const wchar_t ITT_FORMAT s const char ITT_FORMAT s const char ITT_FORMAT s const char ITT_FORMAT s no args void ITT_FORMAT p size_t ITT_FORMAT d no args const wchar_t const wchar_t ITT_FORMAT s __itt_heap_function void size_t int ITT_FORMAT d __itt_heap_function void ITT_FORMAT p __itt_heap_function void void size_t int ITT_FORMAT d no args no args unsigned int ITT_FORMAT u const __itt_domain __itt_id ITT_FORMAT lu const __itt_domain __itt_id __itt_id __itt_string_handle ITT_FORMAT p const __itt_domain __itt_id ITT_FORMAT p const __itt_domain __itt_id __itt_timestamp begin
void const char const char int ITT_FORMAT __itt_group_sync s
No ordering.
Definition: atomic.h:61

References begin, func, tbb::relaxed, and s.

Member Data Documentation

◆ func

internal_array_op1 tbb::internal::concurrent_vector_base_v3::helper::destroy_body::func

Definition at line 187 of file concurrent_vector.cpp.

Referenced by operator()().


The documentation for this struct 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.