Go to the source code of this file.
◆ Q_ATOMIC_INT_FETCH_AND_ADD_IS_NOT_NATIVE
#define Q_ATOMIC_INT_FETCH_AND_ADD_IS_NOT_NATIVE |
◆ Q_ATOMIC_INT_FETCH_AND_STORE_IS_ALWAYS_NATIVE
#define Q_ATOMIC_INT_FETCH_AND_STORE_IS_ALWAYS_NATIVE |
◆ Q_ATOMIC_INT_FETCH_AND_STORE_IS_WAIT_FREE
#define Q_ATOMIC_INT_FETCH_AND_STORE_IS_WAIT_FREE |
◆ Q_ATOMIC_INT_REFERENCE_COUNTING_IS_NOT_NATIVE
#define Q_ATOMIC_INT_REFERENCE_COUNTING_IS_NOT_NATIVE |
◆ Q_ATOMIC_INT_TEST_AND_SET_IS_NOT_NATIVE
#define Q_ATOMIC_INT_TEST_AND_SET_IS_NOT_NATIVE |
◆ Q_ATOMIC_POINTER_FETCH_AND_ADD_IS_NOT_NATIVE
#define Q_ATOMIC_POINTER_FETCH_AND_ADD_IS_NOT_NATIVE |
◆ Q_ATOMIC_POINTER_FETCH_AND_STORE_IS_ALWAYS_NATIVE
#define Q_ATOMIC_POINTER_FETCH_AND_STORE_IS_ALWAYS_NATIVE |
◆ Q_ATOMIC_POINTER_FETCH_AND_STORE_IS_WAIT_FREE
#define Q_ATOMIC_POINTER_FETCH_AND_STORE_IS_WAIT_FREE |
◆ Q_ATOMIC_POINTER_TEST_AND_SET_IS_NOT_NATIVE
#define Q_ATOMIC_POINTER_TEST_AND_SET_IS_NOT_NATIVE |
◆ q_atomic_lock_int()
Definition at line 52 of file qatomic_sparc.cpp.
56 if (returnValue == INT_MIN) {
62 }
while (returnValue == INT_MIN);
66 }
while (returnValue == INT_MIN);
int q_atomic_trylock_int(volatile int *addr)
◆ q_atomic_lock_ptr()
Definition at line 72 of file qatomic_sparc.cpp.
76 if (returnValue == -1) {
81 returnValue = *
reinterpret_cast<volatile int *
>(addr);
82 }
while (returnValue == -1);
86 }
while (returnValue == -1);
int q_atomic_trylock_ptr(volatile void *addr)
◆ q_atomic_set_int()
Q_CORE_EXPORT int q_atomic_set_int |
( |
volatile int * |
ptr, |
|
|
int |
newval |
|
) |
| |
◆ q_atomic_set_ptr()
Q_CORE_EXPORT void* q_atomic_set_ptr |
( |
volatile void * |
ptr, |
|
|
void * |
newval |
|
) |
| |
◆ q_atomic_unlock()
Q_CORE_EXPORT void q_atomic_unlock |
( |
volatile void * |
addr, |
|
|
int |
value |
|
) |
| |