QtCore/qatomic_sparc.h File Reference
| #define Q_ATOMIC_INT_REFERENCE_COUNTING_IS_NOT_NATIVE |
| #define Q_ATOMIC_INT_TEST_AND_SET_IS_NOT_NATIVE |
| #define Q_ATOMIC_INT_FETCH_AND_STORE_IS_ALWAYS_NATIVE |
| #define Q_ATOMIC_INT_FETCH_AND_STORE_IS_WAIT_FREE |
| #define Q_ATOMIC_INT_FETCH_AND_ADD_IS_NOT_NATIVE |
| #define Q_ATOMIC_POINTER_TEST_AND_SET_IS_NOT_NATIVE |
| #define Q_ATOMIC_POINTER_FETCH_AND_STORE_IS_ALWAYS_NATIVE |
| #define Q_ATOMIC_POINTER_FETCH_AND_STORE_IS_WAIT_FREE |
| #define Q_ATOMIC_POINTER_FETCH_AND_ADD_IS_NOT_NATIVE |
| Q_CORE_EXPORT int q_atomic_lock_int |
( |
volatile int * |
addr | ) |
|
| Q_CORE_EXPORT int q_atomic_lock_ptr |
( |
volatile void * |
addr | ) |
|
| Q_CORE_EXPORT void q_atomic_unlock |
( |
volatile void * |
addr, |
|
|
int |
value |
|
) |
| |
| Q_CORE_EXPORT int q_atomic_set_int |
( |
volatile int * |
ptr, |
|
|
int |
newval |
|
) |
| |
| Q_CORE_EXPORT void* q_atomic_set_ptr |
( |
volatile void * |
ptr, |
|
|
void * |
newval |
|
) |
| |
Go to the source code of this file.