Go to the source code of this file.
Data Structures | |
| struct | oro_atomic_t |
| Structure that contains an int for atomic operations. More... | |
| struct | oro__xchg_dummy |
Defines | |
| #define | ORO_LOCK "lock ; " |
| #define | ORO_ATOMIC_SETUP oro_atomic_set |
| #define | ORO_ATOMIC_CLEANUP(v) |
| #define | oro_atomic_read(v) ((v)->counter) |
| #define | oro_atomic_set(v, i) (((v)->counter) = (i)) |
| #define | ORO_LOCK_PREFIX "lock ; " |
| #define | oro__xg(x) ((struct oro__xchg_dummy *)(x)) |
| #define | oro_cmpxchg(ptr, o, n) |
| #define oro__xg | ( | x | ) | ((struct oro__xchg_dummy *)(x)) |
Definition at line 142 of file oro_x86_64/oro_arch.h.
| #define ORO_ATOMIC_CLEANUP | ( | v | ) |
Definition at line 53 of file oro_x86_64/oro_arch.h.
| #define oro_atomic_read | ( | v | ) | ((v)->counter) |
Definition at line 55 of file oro_x86_64/oro_arch.h.
| #define oro_atomic_set | ( | v, | |||
| i | ) | (((v)->counter) = (i)) |
Definition at line 57 of file oro_x86_64/oro_arch.h.
| #define ORO_ATOMIC_SETUP oro_atomic_set |
Definition at line 52 of file oro_x86_64/oro_arch.h.
| #define oro_cmpxchg | ( | ptr, | |||
| o, | |||||
| n | ) |
((__typeof__(*(ptr)))__oro_cmpxchg((ptr),(unsigned long)(o),\ (unsigned long)(n),sizeof(*(ptr))))
Definition at line 178 of file oro_x86_64/oro_arch.h.
| #define ORO_LOCK "lock ; " |
Definition at line 45 of file oro_x86_64/oro_arch.h.
| #define ORO_LOCK_PREFIX "lock ; " |
Definition at line 136 of file oro_x86_64/oro_arch.h.
1.6.3