projects
/
c11tester.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
model: add get_num_threads()
[c11tester.git]
/
model.h
diff --git
a/model.h
b/model.h
index 57959b7c1609c838a7164ae0104eacd50c2ff1b7..9c69ec4965ecf138c17422045a18c49b569f8796 100644
(file)
--- a/
model.h
+++ b/
model.h
@@
-37,6
+37,7
@@
public:
Thread * get_thread(thread_id_t tid) { return (*thread_map)[id_to_int(tid)]; }
thread_id_t get_next_id();
+ int get_num_threads();
int get_next_seq_num();
int switch_to_master(ModelAction *act);