A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
be more uniform on action cleaning accross activities
[simgrid.git]
/
src
/
kernel
/
activity
/
SleepImpl.cpp
diff --git
a/src/kernel/activity/SleepImpl.cpp
b/src/kernel/activity/SleepImpl.cpp
index
1125eae
..
2630930
100644
(file)
--- a/
src/kernel/activity/SleepImpl.cpp
+++ b/
src/kernel/activity/SleepImpl.cpp
@@
-48,6
+48,8
@@
void SleepImpl::post()
} else if (surf_action_->get_state() == resource::Action::State::FINISHED) {
state_ = State::DONE;
}
} else if (surf_action_->get_state() == resource::Action::State::FINISHED) {
state_ = State::DONE;
}
+
+ clean_action();
/* Answer all simcalls associated with the synchro */
finish();
}
/* Answer all simcalls associated with the synchro */
finish();
}
@@
-67,8
+69,6
@@
void SleepImpl::finish()
simcall->issuer_->simcall_answer();
}
}
simcall->issuer_->simcall_answer();
}
}
-
- clean_action();
}
} // namespace activity
} // namespace kernel
}
} // namespace activity
} // namespace kernel