QtCore/qatomic_sh.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_NOT_NATIVE |
#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_NOT_NATIVE |
#define Q_ATOMIC_POINTER_FETCH_AND_ADD_IS_NOT_NATIVE |
Q_CORE_EXPORT void qt_atomic_yield |
( |
int * |
count | ) |
|
int qt_atomic_tasb |
( |
volatile char * |
ptr | ) |
|
|
inline |
Definition at line 107 of file qatomic_sh.h.
110 asm volatile(
"tas.b @%2\n"
112 :
"=&r"(ret),
"=m"(*ptr)
Q_CORE_EXPORT volatile char qt_atomic_lock |
Go to the source code of this file.