X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=action.cc;h=a90878f73d9edc34148359f127df6886d4574cd8;hb=84d0cd2f078f4cb15c318a0fef2515feab570375;hp=41a025ab7e6f463f4e1068b029e6fbf26683d39f;hpb=39c0de028fe3b1c1d229ecf715007c751ddab445;p=model-checker.git diff --git a/action.cc b/action.cc index 41a025a..a90878f 100644 --- a/action.cc +++ b/action.cc @@ -70,6 +70,11 @@ void ModelAction::set_seq_number(modelclock_t num) seq_number = num; } +bool ModelAction::is_thread_start() const +{ + return type == THREAD_START; +} + bool ModelAction::is_relseq_fixup() const { return type == MODEL_FIXUP_RELSEQ;