model: pull thread control logic out of take_step(), check_current...()
[c11tester.git] / model.h
diff --git a/model.h b/model.h
index 12ec06c060a999e256dfb57ea0088c97a09f81c3..73272809873ca66b11de81916f75c288953e4826 100644 (file)
--- a/model.h
+++ b/model.h
@@ -171,6 +171,7 @@ private:
        bool check_action_enabled(ModelAction *curr);
 
        Thread * take_step(ModelAction *curr);
+       bool should_terminate_execution();
 
        template <typename T>
        bool check_recency(ModelAction *curr, const T *rf) const;