action: add ModelAction::is_thread_join() helper
[c11tester.git] / action.cc
index 4de6f354bfbccfbedc9061538ecb48be8e69e3e2..d425b6030f9cdaaccc928b75ddad9169bcb4f70a 100644 (file)
--- a/action.cc
+++ b/action.cc
@@ -77,6 +77,11 @@ bool ModelAction::is_thread_start() const
        return type == THREAD_START;
 }
 
+bool ModelAction::is_thread_join() const
+{
+       return type == THREAD_JOIN;
+}
+
 bool ModelAction::is_relseq_fixup() const
 {
        return type == MODEL_FIXUP_RELSEQ;