X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/4485d715fa3a090c1dd38def83ab8239feebecb3..efe776a7f971fa0f6641baa5c835364604b600c8:/src/kernel/activity/SleepImpl.cpp diff --git a/src/kernel/activity/SleepImpl.cpp b/src/kernel/activity/SleepImpl.cpp index f666d03dcf..18bdbef0d7 100644 --- a/src/kernel/activity/SleepImpl.cpp +++ b/src/kernel/activity/SleepImpl.cpp @@ -64,12 +64,12 @@ void SleepImpl::post() THROW_IMPOSSIBLE; break; } - if (not simcall->issuer->host_->is_on()) { + if (not simcall->issuer->get_host()->is_on()) { simcall->issuer->context_->iwannadie = true; } simcall_process_sleep__set__result(simcall, result); simcall->issuer->waiting_synchro = nullptr; - if (simcall->issuer->suspended_) { + if (simcall->issuer->is_suspended()) { XBT_DEBUG("Wait! This process is suspended and can't wake up now."); simcall->issuer->suspended_ = false; simcall_HANDLER_process_suspend(simcall, simcall->issuer);