X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=action.h;h=9fa7a91c3f93443714f54ec34b153c4d09a1c20b;hb=b81523a0046db06d5ecd9693788ca29f4b023ddb;hp=3e590aae7f34a115cefb9fafed941a91d3bc5f92;hpb=0accacf66b9f7bb4479205a0840f208dd8da6960;p=model-checker.git diff --git a/action.h b/action.h index 3e590aa..9fa7a91 100644 --- a/action.h +++ b/action.h @@ -38,8 +38,9 @@ typedef enum action_type { 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 } action_type_t; /* Forward declaration */ @@ -71,6 +72,7 @@ public: 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;