ATOMIC_RMWR, /**< The read part of an atomic RMW action */
ATOMIC_RMW, /**< The write part of an atomic RMW action */
ATOMIC_RMWC, /**< Convert an atomic RMW action into a READ */
- ATOMIC_INIT /**< Initialization of an atomic object (e.g.,
+ ATOMIC_INIT, /**< Initialization of an atomic object (e.g.,
* atomic_init()) */
+ ATOMIC_FENCE,
+ ATOMIC_LOCK,
+ ATOMIC_TRYLOCK,
+ ATOMIC_UNLOCK
} action_type_t;
/* Forward declaration */
bool is_rmwr() const;
bool is_rmwc() const;
bool is_rmw() const;
+ bool is_fence() const;
bool is_initialization() const;
bool is_acquire() const;
bool is_release() const;