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 a wait_list
[model-checker.git]
/
threads.cc
diff --git
a/threads.cc
b/threads.cc
index a9395926816f38bc4872019a3047357574c1e2b9..7fa4507ee94397e7e092730567901de94cf07a46 100644
(file)
--- a/
threads.cc
+++ b/
threads.cc
@@
-123,6
+123,7
@@
Thread::Thread(thrd_t *t, void (*func)(void *), void *a) :
arg(a),
user_thread(t),
state(THREAD_CREATED),
arg(a),
user_thread(t),
state(THREAD_CREATED),
+ wait_list(),
last_action_val(VALUE_NONE)
{
int ret;
last_action_val(VALUE_NONE)
{
int ret;