model: add read-acquire/fence-release support
[c11tester.git] / action.cc
index 41a025ab7e6f463f4e1068b029e6fbf26683d39f..a90878f73d9edc34148359f127df6886d4574cd8 100644 (file)
--- 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;