projects
/
model-checker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
action: THREAD_JOIN can synchronize against execution order
[model-checker.git]
/
action.cc
diff --git
a/action.cc
b/action.cc
index 1e28264fbcedf171c673bace33be6f41c3aa3f35..2021f0addc06b5d7622909d01458b0c71715bdd5 100644
(file)
--- a/
action.cc
+++ b/
action.cc
@@
-186,7
+186,7
@@
void ModelAction::read_from(const ModelAction *act)
* @param act The ModelAction to synchronize with
*/
void ModelAction::synchronize_with(const ModelAction *act) {
- ASSERT(*act < *this);
+ ASSERT(*act < *this
|| type == THREAD_JOIN
);
model->check_promises(cv, act->cv);
cv->merge(act->cv);
}