xbt_assert(exec.get() != nullptr, "We can only migrate blocked actors when they are blocked on executions.");
exec->migrate(new_host);
}
- this->pimpl_->change_host(new_host);
+ this->pimpl_->set_host(new_host);
});
s4u::Actor::on_migration_end(this);
waiting_synchro = nullptr;
}
-void ActorImpl::change_host(sg_host_t dest)
+void ActorImpl::set_host(sg_host_t dest)
{
simgrid::xbt::intrusive_erase(host_->pimpl_->process_list_, *this);
host_ = dest;
void* get_user_data() { return userdata_; }
/** Ask the actor to throw an exception right away */
void throw_exception(std::exception_ptr e);
- void change_host(sg_host_t dest);
+ void set_host(sg_host_t dest);
};
class ProcessArg {