Orocos Real-Time Toolkit
2.9.0
|
Go to the source code of this file.
Macros | |
#define | ORO_ATOMIC_SETUP oro_atomic_set |
#define | ORO_ATOMIC_CLEANUP(a_int) |
#define | oro_atomic_read(a_int) (*(a_int)) |
#define | oro_atomic_set(a_int, n) (*(a_int) = (n)) |
Typedefs | |
typedef volatile long | oro_atomic_t |
Functions | |
template<typename T > | |
T | oro_cmpxchg (volatile void *ptr, T old, T _new) |
#define ORO_ATOMIC_CLEANUP | ( | a_int | ) |
Definition at line 12 of file oro_arch.h.
#define oro_atomic_read | ( | a_int | ) | (*(a_int)) |
Definition at line 14 of file oro_arch.h.
#define oro_atomic_set | ( | a_int, | |
n | |||
) | (*(a_int) = (n)) |
Definition at line 16 of file oro_arch.h.
#define ORO_ATOMIC_SETUP oro_atomic_set |
Definition at line 11 of file oro_arch.h.
typedef volatile long oro_atomic_t |
Definition at line 9 of file oro_arch.h.
|
inline |
Definition at line 91 of file oro_arch.h.