projects
/
model-checker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add support for sleep sets...
[model-checker.git]
/
nodestack.cc
diff --git
a/nodestack.cc
b/nodestack.cc
index 4cf89500fc1faba0f98714173fbd4eca557edefa..76d167d82a9438e6cd941d114c5a172867ca0780 100644
(file)
--- a/
nodestack.cc
+++ b/
nodestack.cc
@@
-265,13
+265,13
@@
thread_id_t Node::get_next_backtrack()
bool Node::is_enabled(Thread *t)
{
int thread_id=id_to_int(t->get_id());
bool Node::is_enabled(Thread *t)
{
int thread_id=id_to_int(t->get_id());
- return thread_id < num_threads && (enabled_array[thread_id]
== THREAD_EN
ABLED);
+ return thread_id < num_threads && (enabled_array[thread_id]
!= THREAD_DIS
ABLED);
}
bool Node::is_enabled(thread_id_t tid)
{
int thread_id=id_to_int(tid);
}
bool Node::is_enabled(thread_id_t tid)
{
int thread_id=id_to_int(tid);
- return thread_id < num_threads && (enabled_array[thread_id]
== THREAD_EN
ABLED);
+ return thread_id < num_threads && (enabled_array[thread_id]
!= THREAD_DIS
ABLED);
}
bool Node::has_priority(thread_id_t tid)
}
bool Node::has_priority(thread_id_t tid)