another bug fix...
[c11tester.git] / model.h
diff --git a/model.h b/model.h
index fec8d1f1ea55bf331017f9817515cae7e0d93c34..d47fe9677a78c57b0c6a8da46ac774b7749a7ef2 100644 (file)
--- a/model.h
+++ b/model.h
@@ -89,6 +89,9 @@ private:
        /** The scheduler to use: tracks the running/ready Threads */
        Scheduler *scheduler;
        
+       bool ensure_rmw_acyclic(const ModelAction * read, const ModelAction *write);
+
+
        bool thin_air_constraint_may_allow(const ModelAction * writer, const ModelAction *reader);
        bool has_asserted() {return asserted;}
        void reset_asserted() {asserted=false;}
@@ -186,6 +189,7 @@ private:
        bool failed_promise;
        bool too_many_reads;
        bool asserted;
+       bool rmw_cycle;
 };
 
 extern ModelChecker *model;