#include <qatomic.h>
Public Member Functions | |
QAtomicPointer (T *value=0) | |
QAtomicPointer (const QAtomicPointer< T > &other) | |
QAtomicPointer< T > & | operator= (T *value) |
QAtomicPointer< T > & | operator= (const QAtomicPointer< T > &other) |
Public Member Functions inherited from QBasicAtomicPointer< T > | |
bool | operator== (T *value) const |
bool | operator!= (T *value) const |
bool | operator! () const |
operator T * () const | |
T * | operator-> () const |
QBasicAtomicPointer< T > & | operator= (T *value) |
bool | testAndSetRelaxed (T *expectedValue, T *newValue) |
bool | testAndSetAcquire (T *expectedValue, T *newValue) |
bool | testAndSetRelease (T *expectedValue, T *newValue) |
bool | testAndSetOrdered (T *expectedValue, T *newValue) |
T * | fetchAndStoreRelaxed (T *newValue) |
T * | fetchAndStoreAcquire (T *newValue) |
T * | fetchAndStoreRelease (T *newValue) |
T * | fetchAndStoreOrdered (T *newValue) |
T * | fetchAndAddRelaxed (qptrdiff valueToAdd) |
T * | fetchAndAddAcquire (qptrdiff valueToAdd) |
T * | fetchAndAddRelease (qptrdiff valueToAdd) |
T * | fetchAndAddOrdered (qptrdiff valueToAdd) |
Additional Inherited Members | |
Static Public Member Functions inherited from QBasicAtomicPointer< T > | |
static bool | isTestAndSetNative () |
static bool | isTestAndSetWaitFree () |
static bool | isFetchAndStoreNative () |
static bool | isFetchAndStoreWaitFree () |
static bool | isFetchAndAddNative () |
static bool | isFetchAndAddWaitFree () |
Public Attributes inherited from QBasicAtomicPointer< T > | |
union { | |
T *volatile _q_value | |
qint64 volatile _q_value_integral | |
}; | |
|
inline |
Definition at line 128 of file qatomic.h.
|
inline |
Definition at line 135 of file qatomic.h.
|
inline |
Definition at line 143 of file qatomic.h.
|
inline |
Definition at line 149 of file qatomic.h.