datarace: bugfix - use proper multiple-inclusion guard
[model-checker.git] / execution.h
index 67e3fa4b8957a50a90211493772d7583678d0bb7..1ba030b6d93a2d61fc97009dcf869db4c634e6ce 100644 (file)
@@ -61,11 +61,13 @@ struct release_seq {
 class ModelExecution {
 public:
        ModelExecution(ModelChecker *m,
-                       struct model_params *params,
+                       const struct model_params *params,
                        Scheduler *scheduler,
                        NodeStack *node_stack);
        ~ModelExecution();
 
+       const struct model_params * get_params() const { return params; }
+
        Thread * take_step(ModelAction *curr);
        void fixup_release_sequences();