model: release_seq_head - rewrite RMW recursion as loop
[model-checker.git] / model.h
diff --git a/model.h b/model.h
index 13704241a83285dba37651a5e7b8ea699a1d2281..0701d467d21f12eeedcad6e88787103b33966e97 100644 (file)
--- a/model.h
+++ b/model.h
@@ -34,6 +34,8 @@ typedef std::vector< const ModelAction *, MyAlloc<const ModelAction *> > rel_hea
 struct model_params {
        int maxreads;
        int maxfuturedelay;
+       unsigned int fairwindow;
+       unsigned int enabledcount;
 };
 
 struct PendingFutureValue {
@@ -92,6 +94,7 @@ public:
        void finish_execution();
        bool isfeasibleprefix();
        void set_assert() {asserted=true;}
+       const model_params params;
 
        MEMALLOC
 private:
@@ -104,7 +107,6 @@ private:
        int num_executions;
        int num_feasible_executions;
        bool promises_expired();
-       const model_params params;
 
        /**
         * Stores the ModelAction for the current thread action.  Call this