X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=action.cc;h=39b0f7f6d4847207f0dc2a18da5b0edeffa5776a;hb=8548c711d71b6474802af83f5a4800eb4ac30718;hp=c96949bc906cc02a9ca3cb50af761a92feda94c7;hpb=6229fece25a438e469a9fbf1042ea56fa4e3e3f4;p=model-checker.git diff --git a/action.cc b/action.cc index c96949b..39b0f7f 100644 --- a/action.cc +++ b/action.cc @@ -102,7 +102,7 @@ bool ModelAction::is_synchronizing(const ModelAction *act) const // Different locations commute if (!same_var(act)) return false; - + // Explore interleavings of seqcst writes to guarantee total order // of seq_cst operations that don't commute if (is_write() && is_seqcst() && act->is_write() && act->is_seqcst()) @@ -155,6 +155,9 @@ void ModelAction::print(void) const case THREAD_CREATE: type_str = "thread create"; break; + case THREAD_START: + type_str = "thread start"; + break; case THREAD_YIELD: type_str = "thread yield"; break;