+ simgrid::simix::simcall([this, autorestart]() {
+ xbt_assert(autorestart && not pimpl_->auto_restart_); // FIXME: handle all cases
+ pimpl_->set_auto_restart(autorestart);
+
+ simgrid::kernel::actor::ProcessArg* arg = new simgrid::kernel::actor::ProcessArg(pimpl_->host_, pimpl_);
+ XBT_DEBUG("Adding Process %s to the actors_at_boot_ list of Host %s", arg->name.c_str(), arg->host->get_cname());
+ pimpl_->host_->pimpl_->actors_at_boot_.emplace_back(arg);
+ });