projects
/
model-checker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
model / threads: remove global get_next_id() interface
[model-checker.git]
/
model.cc
diff --git
a/model.cc
b/model.cc
index 55949730f5c2a00428618dd8cfbe8bf65c96747f..03d7ba33b4646f48ed9e5a288ddf66be256c0470 100644
(file)
--- a/
model.cc
+++ b/
model.cc
@@
-436,7
+436,7
@@
void ModelChecker::run()
{
do {
thrd_t user_thread;
- Thread *t = new Thread(&user_thread, &user_main_wrapper, NULL, NULL);
+ Thread *t = new Thread(
execution->get_next_id(),
&user_thread, &user_main_wrapper, NULL, NULL);
execution->add_thread(t);
do {