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
small simplifications around simcalls
[simgrid.git]
/
src
/
kernel
/
activity
/
SleepImpl.cpp
diff --git
a/src/kernel/activity/SleepImpl.cpp
b/src/kernel/activity/SleepImpl.cpp
index
09f5e14
..
e20cdf7
100644
(file)
--- a/
src/kernel/activity/SleepImpl.cpp
+++ b/
src/kernel/activity/SleepImpl.cpp
@@
-48,6
+48,7
@@
void SleepImpl::post()
} else if (surf_action_->get_state() == resource::Action::State::FINISHED) {
state_ = SIMIX_DONE;
}
+ /* Answer all simcalls associated with the synchro */
finish();
}