宏定义 | |
#define | rte_compiler_barrier() |
#define | MPLOCKED "lock ; " |
#define | rte_smp_wmb() rte_compiler_barrier() |
#define | rte_smp_rmb() rte_compiler_barrier() |
函数 | |
static int | rte_atomic32_cmpset (volatile uint32_t *dst, uint32_t exp, uint32_t src) |
#define MPLOCKED "lock ; " |
#define rte_compiler_barrier | ( | ) |
Compiler barrier.
Guarantees that operation reordering does not occur at compile time for operations directly before and after the barrier.
#define rte_smp_rmb | ( | ) | rte_compiler_barrier() |
#define rte_smp_wmb | ( | ) | rte_compiler_barrier() |
|
inlinestatic |