- /* Add the actor to its host's actor list */
- host->pimpl_->process_list_.push_back(*actor);
-
- XBT_DEBUG("Start context '%s'", actor->get_cname());
-
- /* Now insert it in the global actor list and in the actor to run list */
- simix_global->process_list[actor->get_pid()] = actor;
- XBT_DEBUG("Inserting [%p] %s(%s) in the to_run list", actor, actor->get_cname(), host->get_cname());
- simix_global->actors_to_run.push_back(actor);
- intrusive_ptr_add_ref(actor);
-
- /* The on_creation() signal must be delayed until there, where the pid and everything is set */
- s4u::Actor::on_creation(actor->iface());