projects
/
cdsspec-compiler.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1cdcdc2
)
schedule: assert that model-checker thread doesn't enter scheduler
author
Brian Norris
<banorris@uci.edu>
Thu, 14 Feb 2013 20:23:48 +0000
(12:23 -0800)
committer
Brian Norris
<banorris@uci.edu>
Thu, 14 Feb 2013 20:23:48 +0000
(12:23 -0800)
schedule.cc
patch
|
blob
|
history
diff --git
a/schedule.cc
b/schedule.cc
index 915bbc90fb3daa8d5985decdf9e1641a93e59993..e75e7eca7f8bda92295493f8f48bfa1f9056743c 100644
(file)
--- a/
schedule.cc
+++ b/
schedule.cc
@@
-217,6
+217,7
@@
Thread * Scheduler::next_thread(Thread *t)
}
} else if (t->is_model_thread()) {
/* model-checker threads never run */
+ ASSERT(false);
t = NULL;
} else {
curr_thread_index = id_to_int(t->get_id());