projects
/
model-checker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b00433
)
model: use get_thread() helper
author
Brian Norris
<banorris@uci.edu>
Wed, 3 Apr 2013 16:08:44 +0000
(09:08 -0700)
committer
Brian Norris
<banorris@uci.edu>
Thu, 4 Apr 2013 02:29:34 +0000
(19:29 -0700)
model.cc
patch
|
blob
|
history
diff --git
a/model.cc
b/model.cc
index 557d103bae5f1e2c998abf09fd89d7faaf96d689..6a79ad4a90f80ff1ee3177511683cd96c67ebb54 100644
(file)
--- a/
model.cc
+++ b/
model.cc
@@
-286,7
+286,7
@@
Thread * ModelChecker::get_next_thread()
}
DEBUG("*** ModelChecker chose next thread = %d ***\n", id_to_int(tid));
ASSERT(tid != THREAD_ID_T_NONE);
- return
thread_map->get
(id_to_int(tid));
+ return
get_thread
(id_to_int(tid));
}
/**