projects
/
c11tester.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
model: remove DEBUG action print
[c11tester.git]
/
model.h
diff --git
a/model.h
b/model.h
index 12ec06c060a999e256dfb57ea0088c97a09f81c3..8fdfc47ae41a8fc0419d04c1570075bdddb0243e 100644
(file)
--- a/
model.h
+++ b/
model.h
@@
-132,7
+132,7
@@
public:
void check_promises(thread_id_t tid, ClockVector *old_cv, ClockVector *merge_cv);
bool isfeasibleprefix() const;
void check_promises(thread_id_t tid, ClockVector *old_cv, ClockVector *merge_cv);
bool isfeasibleprefix() const;
- bool assert_bug(const char *msg);
+ bool assert_bug(const char *msg
, ...
);
void assert_user_bug(const char *msg);
const model_params params;
void assert_user_bug(const char *msg);
const model_params params;
@@
-171,6
+171,7
@@
private:
bool check_action_enabled(ModelAction *curr);
Thread * take_step(ModelAction *curr);
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;
template <typename T>
bool check_recency(ModelAction *curr, const T *rf) const;