projects
/
model-checker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
model/promise: use ModelChecker is_enabled() interface
[model-checker.git]
/
model.cc
diff --git
a/model.cc
b/model.cc
index daf2d15cf2f3227bedc0abc0094bcfed20d12308..3f200ed8e1afd2e7aff81d7b0a23ae6f0cbb7a19 100644
(file)
--- a/
model.cc
+++ b/
model.cc
@@
-1557,7
+1557,7
@@
bool ModelChecker::release_seq_heads(const ModelAction *rf,
ModelAction *last = get_last_action(int_to_id(i));
Thread *th = get_thread(int_to_id(i));
if ((last && rf->happens_before(last)) ||
- !
scheduler->
is_enabled(th) ||
+ !is_enabled(th) ||
th->is_complete())
future_ordered = true;