#include <qatomic.h>
Public Member Functions | |
QAtomicInt (int value=0) | |
QAtomicInt (const QAtomicInt &other) | |
QAtomicInt & | operator= (int value) |
QAtomicInt & | operator= (const QAtomicInt &other) |
Public Member Functions inherited from QBasicAtomicInt | |
bool | operator== (int value) const |
bool | operator!= (int value) const |
bool | operator! () const |
operator int () const | |
QBasicAtomicInt & | operator= (int value) |
bool | ref () |
bool | deref () |
bool | testAndSetRelaxed (int expectedValue, int newValue) |
bool | testAndSetAcquire (int expectedValue, int newValue) |
bool | testAndSetRelease (int expectedValue, int newValue) |
bool | testAndSetOrdered (int expectedValue, int newValue) |
int | fetchAndStoreRelaxed (int newValue) |
int | fetchAndStoreAcquire (int newValue) |
int | fetchAndStoreRelease (int newValue) |
int | fetchAndStoreOrdered (int newValue) |
int | fetchAndAddRelaxed (int valueToAdd) |
int | fetchAndAddAcquire (int valueToAdd) |
int | fetchAndAddRelease (int valueToAdd) |
int | fetchAndAddOrdered (int valueToAdd) |
Additional Inherited Members | |
Static Public Member Functions inherited from QBasicAtomicInt | |
static bool | isReferenceCountingNative () |
static bool | isReferenceCountingWaitFree () |
static bool | isTestAndSetNative () |
static bool | isTestAndSetWaitFree () |
static bool | isFetchAndStoreNative () |
static bool | isFetchAndStoreWaitFree () |
static bool | isFetchAndAddNative () |
static bool | isFetchAndAddWaitFree () |
Public Attributes inherited from QBasicAtomicInt | |
union { | |
volatile long _q_value | |
}; | |
|
inline |
|
inline |
|
inline |
|
inline |