projects
/
model-checker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
schedule: reset scheduler when thread is removed
[model-checker.git]
/
model.h
diff --git
a/model.h
b/model.h
index 7dbd9ab3219130ccfb4a234a870f278072d4240d..ca1de85c980cfa19b2179f9f68ee779bc90097e7 100644
(file)
--- a/
model.h
+++ b/
model.h
@@
-79,9
+79,10
@@
public:
Thread * schedule_next_thread();
int add_thread(Thread *t);
+ void remove_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);