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 34 of file combinable.h.
|
private |
Definition at line 37 of file combinable.h.
|
private |
Definition at line 38 of file combinable.h.
|
inline |
Definition at line 43 of file combinable.h.
|
inlineexplicit |
Definition at line 46 of file combinable.h.
|
inline |
|
inline |
Definition at line 51 of file combinable.h.
|
inline |
Definition at line 54 of file combinable.h.
|
inline |
Definition at line 69 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 77 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 81 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 71 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 73 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 63 of file combinable.h.
References tbb::move(), and tbb::combinable< T >::my_ets.
|
private |
Definition at line 39 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=().