Lines Matching refs:T
52 template <typename T>
79 volatile T m_v; //!< バリア変数
88 bool operator()(T& x) { x = m_converter(x); return true; }
94 T m_operand; \
96 bool operator()(T& x) { x op m_operand; return true; } \
111 T result; \
112 bool operator()(T& x) { result = preop x postop; return true; } \
124 T m_comparand;
125 T m_value;
126 T m_result;
127 bool operator()(T& x)
140 CompareAndSwapFunc(T comparand, T value) : m_comparand(comparand), m_value(value) {}
150 InterlockedVariable(T v) : m_v(v) {}
152 operator T() const
154 …typename StorageSelecter<T>::Type x = reinterpret_cast<const volatile typename StorageSelecter<T>:…
155 return reinterpret_cast<T&>(x);
157 T operator ->()
159 …typename StorageSelecter<T>::Type x = reinterpret_cast<const volatile typename StorageSelecter<T>:…
160 return reinterpret_cast<T&>(x);
168 T Read() const { return *this; }
175 void WriteNotAtomic (T v) { m_v = v; }
195 T CompareAndSwap(T comparand, T value)
210 int CompareAndSwapWeak(T comparand, T value)
221 void CompareAndSpinWaitAndSwap(T cmpValue, T newValue)