X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b8dc7c0693d2606e9cb9f21bcced90a5174bd503..d4be32492fcb56ad33f704c7e602b5efa48ed9d0:/src/kernel/activity/SleepImpl.cpp 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(); }