projects
/
model-checker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
threads: save id within class Thread
[model-checker.git]
/
model.h
diff --git
a/model.h
b/model.h
index 7dbd9ab3219130ccfb4a234a870f278072d4240d..64d052fcbf9b5cab928b3ebfbb62554aa7e42939 100644
(file)
--- a/
model.h
+++ b/
model.h
@@
-81,7
+81,7
@@
public:
int add_thread(Thread *t);
Thread * get_thread(thread_id_t tid) { return thread_map[tid]; }
-
void assign_id(Thread *t
);
+
int get_next_id(
);
int switch_to_master(ModelAction *act);