synchro->simcalls_.push_back(simcall);
synchro->finish();
} else {
- SIMIX_simcall_answer(simcall);
+ simcall->issuer->simcall_answer();
}
simcall_execution_test__set__result(simcall, res);
}
exec->simcalls_.erase(j);
}
simcall_execution_waitany_for__set__result(simcall, -1);
- SIMIX_simcall_answer(simcall);
+ simcall->issuer->simcall_answer();
});
}
case SIMIX_TIMEOUT:
XBT_DEBUG("ExecImpl::finish(): execution timeouted");
- simcall->issuer->exception_ = std::make_exception_ptr(simgrid::TimeoutError(XBT_THROW_POINT, "Timeouted"));
+ simcall->issuer->exception_ = std::make_exception_ptr(simgrid::TimeoutException(XBT_THROW_POINT, "Timeouted"));
break;
default:
simcall->issuer->waiting_synchro = nullptr;
/* Fail the process if the host is down */
if (simcall->issuer->get_host()->is_on())
- SIMIX_simcall_answer(simcall);
+ simcall->issuer->simcall_answer();
else
simcall->issuer->context_->iwannadie = true;
}