29 #ifndef GUM_THREAD_DATA_H 30 #define GUM_THREAD_DATA_H 53 template <
typename T_DATA >
93 data = std::move(from.data);
ThreadData(const T_DATA &theData)
default constructor
ThreadData(T_DATA &&theData)
default constructor
A wrapper that enables to store data in a way that prevents false cacheline sharing.
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
ThreadData(const ThreadData< T_DATA > &from)
copy constructor
ThreadData< T_DATA > & operator=(ThreadData< T_DATA > &&from)
move operator
ThreadData< T_DATA > & operator=(const ThreadData< T_DATA > &from)
copy operator
ThreadData(ThreadData< T_DATA > &&from)
move constructor
T_DATA data
the data we wish to store without cacheline parallel problem