+ simgrid::kernel::actor::ActorImpl* actor =
+ simgrid::simix::simcall([self, name, host] { return self->init(std::move(name), host).get(); });
+ return actor->ciface();
+}
+
+ActorPtr Actor::start(std::function<void()> code)
+{
+ simgrid::simix::simcall([this, code] { pimpl_->start(code); });
+ return this;
+}