projects
/
model-checker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
threads: add per-thread "return" values for 'model-checking/user context' switch
[model-checker.git]
/
threads.cc
diff --git
a/threads.cc
b/threads.cc
index 6d290a94f9f2131b5ca9e7d47b8bae457dd02857..b6eaee4ea18cb511b9d4e37edc78814669e152c8 100644
(file)
--- a/
threads.cc
+++ b/
threads.cc
@@
-69,7
+69,9
@@
void Thread::complete()
}
}
}
}
-Thread::Thread(thrd_t *t, void (*func)(void *), void *a) {
+Thread::Thread(thrd_t *t, void (*func)(void *), void *a) :
+ last_action_val(VALUE_NONE)
+{
int ret;
user_thread = t;
int ret;
user_thread = t;