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