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:
bb44088
)
model: use 'this' uniformly
author
Brian Norris
<banorris@uci.edu>
Wed, 14 Mar 2012 22:08:25 +0000
(15:08 -0700)
committer
Brian Norris
<banorris@uci.edu>
Wed, 14 Mar 2012 22:08:25 +0000
(15:08 -0700)
model.cc
patch
|
blob
|
history
diff --git
a/model.cc
b/model.cc
index 858b9198bccc2fea775d3870970c9f4a0e19ef7e..ebc713ff48452636dc097a39c2ac0839b74e7b07 100644
(file)
--- a/
model.cc
+++ b/
model.cc
@@
-15,7
+15,7
@@
ModelChecker::ModelChecker()
ModelChecker::~ModelChecker()
{
- struct scheduler *sched =
model
->scheduler;
+ struct scheduler *sched =
this
->scheduler;
if (sched->exit)
sched->exit();
@@
-29,5
+29,5
@@
void ModelChecker::assign_id(struct thread *t)
void ModelChecker::add_system_thread(struct thread *t)
{
-
model
->system_thread = t;
+
this
->system_thread = t;
}