16 #ifndef dealii__thread_local_storage_h 17 #define dealii__thread_local_storage_h 20 #include <deal.II/base/config.h> 22 #ifdef DEAL_II_WITH_THREADS 23 # include <tbb/enumerable_thread_specific.h> 28 DEAL_II_NAMESPACE_OPEN
110 T &
get (
bool &exists);
160 #ifdef DEAL_II_WITH_THREADS 161 tbb::enumerable_thread_specific<T> &
168 #ifdef DEAL_II_WITH_THREADS 174 tbb::enumerable_thread_specific<T>
data;
182 template <
typename T>
188 template <
typename T>
196 template <
typename T>
204 template <
typename T>
209 #ifdef DEAL_II_WITH_THREADS 217 template <
typename T>
222 #ifdef DEAL_II_WITH_THREADS 223 return data.local(exists);
231 template <
typename T>
239 template <
typename T>
241 ThreadLocalStorage<T> &
249 template <
typename T>
251 #ifdef DEAL_II_WITH_THREADS 252 tbb::enumerable_thread_specific<T> &
263 template <
typename T>
268 #ifdef DEAL_II_WITH_THREADS 280 DEAL_II_NAMESPACE_CLOSE
A class that provides a separate storage location on each thread that accesses the object...
tbb::enumerable_thread_specific< T > & get_implementation()
tbb::enumerable_thread_specific< T > data
ThreadLocalStorage< T > & operator=(const T &t)