small changes (things still work) towards support RMW
[model-checker.git] / action.h
index 36c72079b165a6a7462d5a32698e61dbdef12dbd..fff6bc8226990010bae9270a021d606f0cd5fa05 100644 (file)
--- a/action.h
+++ b/action.h
@@ -80,6 +80,8 @@ public:
                return get_seq_number() > act.get_seq_number();
        }
 
+       void upgrade_rmw(ModelAction * act);
+
        MEMALLOC
 private:
 
@@ -95,8 +97,7 @@ private:
        /** The thread id that performed this action. */
        thread_id_t tid;
 
-       /** The value read or written (if RMW, then the value written). This
-        * should probably be something longer. */
+       /** The value written (for write or RMW; undefined for read) */
        uint64_t value;
 
        /** The action that this action reads from. Only valid for reads */