Qt 4.8
Macros | Functions
qatomic_ia64.h File Reference

Go to the source code of this file.

Macros

#define Q_ATOMIC_INT_FETCH_AND_ADD_IS_ALWAYS_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_REFERENCE_COUNTING_IS_ALWAYS_NATIVE
 
#define Q_ATOMIC_INT_REFERENCE_COUNTING_IS_WAIT_FREE
 
#define Q_ATOMIC_INT_TEST_AND_SET_IS_ALWAYS_NATIVE
 
#define Q_ATOMIC_INT_TEST_AND_SET_IS_WAIT_FREE
 
#define Q_ATOMIC_POINTER_FETCH_AND_ADD_IS_ALWAYS_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_TEST_AND_SET_IS_ALWAYS_NATIVE
 
#define Q_ATOMIC_POINTER_TEST_AND_SET_IS_WAIT_FREE
 

Functions

bool _q_ia64_fetchadd_immediate (register int value)
 
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_ptr (volatile void *ptr, void *expected, void *newval)
 

Macro Definition Documentation

◆ Q_ATOMIC_INT_FETCH_AND_ADD_IS_ALWAYS_NATIVE

#define Q_ATOMIC_INT_FETCH_AND_ADD_IS_ALWAYS_NATIVE

Definition at line 73 of file qatomic_ia64.h.

◆ Q_ATOMIC_INT_FETCH_AND_STORE_IS_ALWAYS_NATIVE

#define Q_ATOMIC_INT_FETCH_AND_STORE_IS_ALWAYS_NATIVE

Definition at line 65 of file qatomic_ia64.h.

◆ Q_ATOMIC_INT_FETCH_AND_STORE_IS_WAIT_FREE

#define Q_ATOMIC_INT_FETCH_AND_STORE_IS_WAIT_FREE

Definition at line 66 of file qatomic_ia64.h.

◆ Q_ATOMIC_INT_REFERENCE_COUNTING_IS_ALWAYS_NATIVE

#define Q_ATOMIC_INT_REFERENCE_COUNTING_IS_ALWAYS_NATIVE

Definition at line 49 of file qatomic_ia64.h.

◆ Q_ATOMIC_INT_REFERENCE_COUNTING_IS_WAIT_FREE

#define Q_ATOMIC_INT_REFERENCE_COUNTING_IS_WAIT_FREE

Definition at line 50 of file qatomic_ia64.h.

◆ Q_ATOMIC_INT_TEST_AND_SET_IS_ALWAYS_NATIVE

#define Q_ATOMIC_INT_TEST_AND_SET_IS_ALWAYS_NATIVE

Definition at line 57 of file qatomic_ia64.h.

◆ Q_ATOMIC_INT_TEST_AND_SET_IS_WAIT_FREE

#define Q_ATOMIC_INT_TEST_AND_SET_IS_WAIT_FREE

Definition at line 58 of file qatomic_ia64.h.

◆ Q_ATOMIC_POINTER_FETCH_AND_ADD_IS_ALWAYS_NATIVE

#define Q_ATOMIC_POINTER_FETCH_AND_ADD_IS_ALWAYS_NATIVE

Definition at line 100 of file qatomic_ia64.h.

◆ Q_ATOMIC_POINTER_FETCH_AND_STORE_IS_ALWAYS_NATIVE

#define Q_ATOMIC_POINTER_FETCH_AND_STORE_IS_ALWAYS_NATIVE

Definition at line 90 of file qatomic_ia64.h.

◆ Q_ATOMIC_POINTER_FETCH_AND_STORE_IS_WAIT_FREE

#define Q_ATOMIC_POINTER_FETCH_AND_STORE_IS_WAIT_FREE

Definition at line 91 of file qatomic_ia64.h.

◆ Q_ATOMIC_POINTER_TEST_AND_SET_IS_ALWAYS_NATIVE

#define Q_ATOMIC_POINTER_TEST_AND_SET_IS_ALWAYS_NATIVE

Definition at line 80 of file qatomic_ia64.h.

◆ Q_ATOMIC_POINTER_TEST_AND_SET_IS_WAIT_FREE

#define Q_ATOMIC_POINTER_TEST_AND_SET_IS_WAIT_FREE

Definition at line 81 of file qatomic_ia64.h.

Function Documentation

◆ _q_ia64_fetchadd_immediate()

bool _q_ia64_fetchadd_immediate ( register int  value)
inline

Definition at line 109 of file qatomic_ia64.h.

110 {
111  return value == 1 || value == -1
112  || value == 4 || value == -4
113  || value == 8 || value == -8
114  || value == 16 || value == -16;
115 }

◆ q_atomic_test_and_set_int()

Q_CORE_EXPORT int q_atomic_test_and_set_int ( volatile int *  ptr,
int  expected,
int  newval 
)

◆ q_atomic_test_and_set_ptr()

Q_CORE_EXPORT int q_atomic_test_and_set_ptr ( volatile void *  ptr,
void *  expected,
void *  newval 
)