42 #include <QtCore/qatomic.h> 56 if (returnValue == INT_MIN) {
62 }
while (returnValue == INT_MIN);
66 }
while (returnValue == INT_MIN);
76 if (returnValue == -1) {
81 returnValue = *
reinterpret_cast<volatile int *
>(addr);
82 }
while (returnValue == -1);
86 }
while (returnValue == -1);
Q_CORE_EXPORT int q_atomic_lock_ptr(volatile void *addr)
Q_CORE_EXPORT int q_atomic_lock_int(volatile int *addr)
int q_atomic_trylock_int(volatile int *addr)
int q_atomic_trylock_ptr(volatile void *addr)