projects
/
model-checker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
action: add ModelAction::is_thread_join() helper
[model-checker.git]
/
action.cc
diff --git
a/action.cc
b/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;