Go to the source code of
this file.
Defines
|
|
#define |
Q_ATOMIC_INT_REFERENCE_COUNTING_IS_ALWAYS_NATIVE |
|
#define |
Q_ATOMIC_INT_TEST_AND_SET_IS_ALWAYS_NATIVE |
|
#define |
Q_ATOMIC_INT_FETCH_AND_STORE_IS_ALWAYS_NATIVE |
|
#define |
Q_ATOMIC_INT_FETCH_AND_ADD_IS_ALWAYS_NATIVE |
|
#define |
Q_ATOMIC_POINTER_TEST_AND_SET_IS_ALWAYS_NATIVE |
|
#define |
Q_ATOMIC_POINTER_FETCH_AND_STORE_IS_ALWAYS_NATIVE |
|
#define |
Q_ATOMIC_POINTER_FETCH_AND_ADD_IS_ALWAYS_NATIVE |
Functions
|
| Q_CORE_EXPORT
int |
q_atomic_test_and_set_int
(volatile int *ptr, int expected, int newval) |
| Q_CORE_EXPORT
int |
q_atomic_test_and_set_acquire_int
(volatile int *ptr, int expected, int newval) |
| Q_CORE_EXPORT
int |
q_atomic_test_and_set_release_int
(volatile int *ptr, int expected, int newval) |
| Q_CORE_EXPORT
int |
q_atomic_test_and_set_ptr
(volatile void *ptr, void *expected, void *newval) |
| Q_CORE_EXPORT
int |
q_atomic_test_and_set_acquire_ptr
(volatile void *ptr, void *expected, void *newval) |
| Q_CORE_EXPORT
int |
q_atomic_test_and_set_release_ptr
(volatile void *ptr, void *expected, void *newval) |
Define Documentation
| #define
Q_ATOMIC_INT_REFERENCE_COUNTING_IS_ALWAYS_NATIVE |
| #define
Q_ATOMIC_INT_TEST_AND_SET_IS_ALWAYS_NATIVE |
| #define
Q_ATOMIC_INT_FETCH_AND_STORE_IS_ALWAYS_NATIVE |
| #define
Q_ATOMIC_INT_FETCH_AND_ADD_IS_ALWAYS_NATIVE |
| #define
Q_ATOMIC_POINTER_TEST_AND_SET_IS_ALWAYS_NATIVE |
| #define
Q_ATOMIC_POINTER_FETCH_AND_STORE_IS_ALWAYS_NATIVE |
| #define
Q_ATOMIC_POINTER_FETCH_AND_ADD_IS_ALWAYS_NATIVE |
Function Documentation
| Q_CORE_EXPORT int
q_atomic_test_and_set_int |
( |
volatile int * |
ptr, |
|
|
int |
expected, |
|
|
int |
newval |
|
) |
|
|
| Q_CORE_EXPORT int
q_atomic_test_and_set_acquire_int |
( |
volatile int * |
ptr, |
|
|
int |
expected, |
|
|
int |
newval |
|
) |
|
|
| Q_CORE_EXPORT int
q_atomic_test_and_set_release_int |
( |
volatile int * |
ptr, |
|
|
int |
expected, |
|
|
int |
newval |
|
) |
|
|
| Q_CORE_EXPORT int
q_atomic_test_and_set_ptr |
( |
volatile void * |
ptr, |
|
|
void * |
expected, |
|
|
void * |
newval |
|
) |
|
|
| Q_CORE_EXPORT int
q_atomic_test_and_set_acquire_ptr |
( |
volatile void * |
ptr, |
|
|
void * |
expected, |
|
|
void * |
newval |
|
) |
|
|
| Q_CORE_EXPORT int
q_atomic_test_and_set_release_ptr |
( |
volatile void * |
ptr, |
|
|
void * |
expected, |
|
|
void * |
newval |
|
) |
|
|