30 typedef void *Pointer;
32 ALWAYS_INLINE
static void inc(TVOLATILE Integer &var);
33 ALWAYS_INLINE
static bool dec(TVOLATILE Integer &var);
34 ALWAYS_INLINE
static Integer add(TVOLATILE Integer &var, Integer delta);
35 ALWAYS_INLINE
static Integer set(TVOLATILE Integer &var, Integer new_value);
36 ALWAYS_INLINE
static Integer get(
const TVOLATILE Integer &var);
38 ALWAYS_INLINE
static Pointer set_ptr(TVOLATILE Pointer &var, Pointer new_value);
39 ALWAYS_INLINE
static Pointer get_ptr(
const TVOLATILE Pointer &var);
41 ALWAYS_INLINE
static Integer compare_and_exchange(TVOLATILE Integer &mem,
45 ALWAYS_INLINE
static Pointer compare_and_exchange_ptr(TVOLATILE Pointer &mem,