+ simgrid::simix::kernelImmediate([this, autorestart]() { pimpl_->auto_restart = autorestart; });
+}
+
+void Actor::onExit(int_f_pvoid_pvoid_t fun, void* data)
+{
+ simcall_process_on_exit(pimpl_, fun, data);
+}
+
+void Actor::migrate(Host* new_host)
+{
+ simgrid::simix::kernelImmediate([this, new_host]() { pimpl_->new_host = new_host; });
+}
+
+s4u::Host* Actor::getHost()
+{
+ return this->pimpl_->host;
+}
+
+void Actor::daemonize()
+{
+ simgrid::simix::kernelImmediate([this]() { pimpl_->daemonize(); });
+}
+
+const char* Actor::getCname()
+{
+ return this->pimpl_->name.c_str();
+}
+
+simgrid::xbt::string Actor::getName()
+{
+ return this->pimpl_->name;
+}
+
+aid_t Actor::getPid()
+{
+ return this->pimpl_->pid;