model: refactor the get_thread() selection
[model-checker.git] / model.h
diff --git a/model.h b/model.h
index ae668b159cb04d701ff151f099b96c85ae2452a0..c368ce6ef9cc7ca937cf78b580de1b5a80a6dd9d 100644 (file)
--- a/model.h
+++ b/model.h
@@ -176,7 +176,8 @@ private:
        ModelAction * get_last_fence_conflict(ModelAction *act) const;
        ModelAction * get_last_conflict(ModelAction *act) const;
        void set_backtracking(ModelAction *act);
-       Thread * get_next_thread(ModelAction *curr);
+       Thread * action_select_next_thread(const ModelAction *curr) const;
+       Thread * get_next_thread();
        bool set_latest_backtrack(ModelAction *act);
        ModelAction * get_next_backtrack();
        void reset_to_initial_state();