Intel(R) Threading Building Blocks Doxygen Documentation
version 4.2.3
|
Thread-local storage with optional reduction. More...
#include <combinable.h>
Public Member Functions | |
combinable () | |
template<typename finit > | |
combinable (finit _finit) | |
~combinable () | |
destructor More... | |
combinable (const combinable &other) | |
combinable (combinable &&other) | |
combinable & | operator= (const combinable &other) |
combinable & | operator= (combinable &&other) |
void | clear () |
T & | local () |
T & | local (bool &exists) |
template<typename combine_func_t > | |
T | combine (combine_func_t f_combine) |
template<typename combine_func_t > | |
void | combine_each (combine_func_t f_combine) |
Private Types | |
typedef tbb::cache_aligned_allocator< T > | my_alloc |
typedef tbb::enumerable_thread_specific< T, my_alloc, ets_no_key > | my_ets_type |
Private Attributes | |
my_ets_type | my_ets |
Thread-local storage with optional reduction.
Definition at line 33 of file combinable.h.
|
private |
Definition at line 36 of file combinable.h.
|
private |
Definition at line 37 of file combinable.h.
|
inline |
Definition at line 42 of file combinable.h.
|
inlineexplicit |
Definition at line 45 of file combinable.h.
|
inline |
|
inline |
Definition at line 50 of file combinable.h.
|
inline |
Definition at line 53 of file combinable.h.
|
inline |
Definition at line 68 of file combinable.h.
References tbb::interface6::enumerable_thread_specific< T, Allocator, ETS_key_type >::clear(), and tbb::combinable< T >::my_ets.
|
inline |
Definition at line 76 of file combinable.h.
References tbb::interface6::enumerable_thread_specific< T, Allocator, ETS_key_type >::combine(), and tbb::combinable< T >::my_ets.
|
inline |
Definition at line 80 of file combinable.h.
References tbb::interface6::enumerable_thread_specific< T, Allocator, ETS_key_type >::combine_each(), and tbb::combinable< T >::my_ets.
|
inline |
Definition at line 70 of file combinable.h.
References tbb::interface6::enumerable_thread_specific< T, Allocator, ETS_key_type >::local(), and tbb::combinable< T >::my_ets.
|
inline |
Definition at line 72 of file combinable.h.
References tbb::interface6::enumerable_thread_specific< T, Allocator, ETS_key_type >::local(), and tbb::combinable< T >::my_ets.
|
inline |
|
inline |
Definition at line 62 of file combinable.h.
References tbb::move(), and tbb::combinable< T >::my_ets.
|
private |
Definition at line 38 of file combinable.h.
Referenced by tbb::combinable< T >::clear(), tbb::combinable< T >::combine(), tbb::combinable< T >::combine_each(), tbb::combinable< T >::local(), and tbb::combinable< T >::operator=().