SAtomicVar

C++
template <class T>
struct SAtomicVar {
  T val;
};
File

MultiThread.h

Description

as PowerPC operates via cache line reservation, lock variables should reside ion their own cache line

SAtomicVar::val Data Member
C++
T val;
SAtomicVar::- Operator (T&)
C++
inline T operator -(const T& v);
SAtomicVar::- Operator (T&)
C++
inline T operator -(const T& v) const;
SAtomicVar::!= Operator (SAtomicVar&)
C++
inline bool operator !=(const SAtomicVar<T>& v);
SAtomicVar::!= Operator (SAtomicVar&)
C++
inline bool operator !=(const SAtomicVar<T>& v) const;
SAtomicVar::!= Operator (T&)
C++
inline bool operator !=(const T& v);
SAtomicVar::!= Operator (T&)
C++
inline bool operator !=(const T& v) const;
SAtomicVar::* Operator (T&)
C++
inline T operator *(const T& v);
SAtomicVar::* Operator (T&)
C++
inline T operator *(const T& v) const;
SAtomicVar::/ Operator (T&)
C++
inline T operator /(const T& v);
SAtomicVar::/ Operator (T&)
C++
inline T operator /(const T& v) const;
SAtomicVar::+ Operator (T&)
C++
inline T operator +(const T& v);
SAtomicVar::+ Operator (T&)
C++
inline T operator +(const T& v) const;
SAtomicVar::< Operator (SAtomicVar&)
C++
inline bool operator <(const SAtomicVar<T>& v);
SAtomicVar::< Operator (SAtomicVar&)
C++
inline bool operator <(const SAtomicVar<T>& v) const;
SAtomicVar::< Operator (T&)
C++
inline bool operator <(const T& v);
SAtomicVar::< Operator (T&)
C++
inline bool operator <(const T& v) const;
SAtomicVar::<= Operator (SAtomicVar&)
C++
inline bool operator <=(const SAtomicVar<T>& v);
SAtomicVar::<= Operator (SAtomicVar&)
C++
inline bool operator <=(const SAtomicVar<T>& v) const;
SAtomicVar::<= Operator (T&)
C++
inline bool operator <=(const T& v);
SAtomicVar::<= Operator (T&)
C++
inline bool operator <=(const T& v) const;
SAtomicVar::= Operator
C++
inline void operator =(const T& rV);
SAtomicVar::== Operator (SAtomicVar&)
C++
inline bool operator ==(const SAtomicVar<T>& v);
SAtomicVar::== Operator (SAtomicVar&)
C++
inline bool operator ==(const SAtomicVar<T>& v) const;
SAtomicVar::== Operator (T&)
C++
inline bool operator ==(const T& v);
SAtomicVar::== Operator (T&)
C++
inline bool operator ==(const T& v) const;
SAtomicVar::> Operator (SAtomicVar&)
C++
inline bool operator >(const SAtomicVar<T>& v);
SAtomicVar::> Operator (SAtomicVar&)
C++
inline bool operator >(const SAtomicVar<T>& v) const;
SAtomicVar::> Operator (T&)
C++
inline bool operator >(const T& v);
SAtomicVar::> Operator (T&)
C++
inline bool operator >(const T& v) const;
SAtomicVar::>= Operator (SAtomicVar&)
C++
inline bool operator >=(const SAtomicVar<T>& v);
SAtomicVar::>= Operator (SAtomicVar&)
C++
inline bool operator >=(const SAtomicVar<T>& v) const;
SAtomicVar::>= Operator (T&)
C++
inline bool operator >=(const T& v);
SAtomicVar::>= Operator (T&)
C++
inline bool operator >=(const T& v) const;
SAtomicVar::Addr Method
C++
inline volatile T* Addr();
SAtomicVar::Assign Method
C++
inline void Assign(const T& rV);
SAtomicVar::T Operator ()
C++
inline operator T();
SAtomicVar::T Operator ()
C++
inline operator T() const;