projects
/
model-checker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
my schedule changes
[model-checker.git]
/
schedule.cc
diff --git
a/schedule.cc
b/schedule.cc
index b19a5d304ce4d28b5e8ad7064c7b37aa18afaf17..c30b0f38874c83425dd6a15a395fa5e7fadfc025 100644
(file)
--- a/
schedule.cc
+++ b/
schedule.cc
@@
-90,7
+90,10
@@
Thread * Scheduler::next_thread(Thread *t)
return NULL;
}
}
+ } else {
+ curr_thread_index = id_to_int(t->get_id());
}
+
current = t;
print();
return t;