X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a2b4822b3457a5d00803620c1d4a4df77d2b06de..d4be32492fcb56ad33f704c7e602b5efa48ed9d0:/src/kernel/activity/SleepImpl.cpp?ds=inline diff --git a/src/kernel/activity/SleepImpl.cpp b/src/kernel/activity/SleepImpl.cpp index 09f5e1408c..e20cdf7d66 100644 --- 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(); }