projects
/
model-checker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix conflicts
[model-checker.git]
/
model.cc
diff --git
a/model.cc
b/model.cc
index ae3788945c7756881178b1657bb215cf5a71901a..cec59d52a5579ba651ec2f97cacd689d87da34fe 100644
(file)
--- a/
model.cc
+++ b/
model.cc
@@
-1111,7
+1111,7
@@
bool ModelChecker::process_thread_action(ModelAction *curr)
case THREAD_CREATE: {
thrd_t *thrd = (thrd_t *)curr->get_location();
struct thread_params *params = (struct thread_params *)curr->get_value();
case THREAD_CREATE: {
thrd_t *thrd = (thrd_t *)curr->get_location();
struct thread_params *params = (struct thread_params *)curr->get_value();
- Thread *th = new Thread(thrd, params->func, params->arg);
+ Thread *th = new Thread(thrd, params->func, params->arg
, get_thread(curr)
);
add_thread(th);
th->set_creation(curr);
/* Promises can be satisfied by children */
add_thread(th);
th->set_creation(curr);
/* Promises can be satisfied by children */