Intel(R) Threading Building Blocks Doxygen Documentation version 4.2.3
Loading...
Searching...
No Matches
tbb::internal::concurrent_vector_base_v3::helper::safe_init_body Struct Reference
Collaboration diagram for tbb::internal::concurrent_vector_base_v3::helper::safe_init_body:

Public Member Functions

 safe_init_body (internal_array_op2 init, const void *src)
 
void operator() (segment_t &s, void *begin, size_type n) const
 

Public Attributes

internal_array_op2 func
 
const voidarg
 

Detailed Description

Definition at line 177 of file concurrent_vector.cpp.

Constructor & Destructor Documentation

◆ safe_init_body()

tbb::internal::concurrent_vector_base_v3::helper::safe_init_body::safe_init_body ( internal_array_op2  init,
const void src 
)
inline

Member Function Documentation

◆ operator()()

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

Definition at line 181 of file concurrent_vector.cpp.

181 {
183 func( begin, arg, n );
184 }
void const char const char int ITT_FORMAT __itt_group_sync s
@ relaxed
No ordering.
Definition: atomic.h:61
friend void enforce_segment_allocated(segment_value_t const &s, internal::exception_id exception=eid_bad_last_alloc)

References arg, begin, tbb::internal::concurrent_vector_base_v3::enforce_segment_allocated, func, tbb::relaxed, and s.

Member Data Documentation

◆ arg

const void* tbb::internal::concurrent_vector_base_v3::helper::safe_init_body::arg

Definition at line 179 of file concurrent_vector.cpp.

Referenced by operator()().

◆ func

internal_array_op2 tbb::internal::concurrent_vector_base_v3::helper::safe_init_body::func

Definition at line 178 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.