projects
/
model-checker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
model: move get_current_thread() implementation out of header
[model-checker.git]
/
model.h
diff --git
a/model.h
b/model.h
index 7241765d38c5270a33cf25a4986f5dd6fbd9a776..8e57876dabf3950e9cd3378eb15d50085a044d73 100644
(file)
--- a/
model.h
+++ b/
model.h
@@
-78,9
+78,7
@@
public:
thread_id_t get_next_id();
int get_num_threads();
thread_id_t get_next_id();
int get_num_threads();
-
- /** @return The currently executing Thread. */
- Thread * get_current_thread() { return scheduler->get_current_thread(); }
+ Thread * get_current_thread();
int switch_to_master(ModelAction *act);
ClockVector * get_cv(thread_id_t tid);
int switch_to_master(ModelAction *act);
ClockVector * get_cv(thread_id_t tid);