ActorImpl::~ActorImpl()
{
if (simix_global != nullptr && this != simix_global->maestro_)
- s4u::Actor::on_destruction(*ciface());
+ s4u::Actor::on_destruction(*get_ciface());
}
/* Become an actor in the simulation
context->attach_start();
/* The on_creation() signal must be delayed until there, where the pid and everything is set */
- s4u::Actor::on_creation(*actor->ciface());
+ s4u::Actor::on_creation(*actor->get_ciface());
return ActorImplPtr(actor);
}
cleanup_from_simix();
context_->set_wannadie(false); // don't let the simcall's yield() do a Context::stop(), to avoid infinite loops
- actor::simcall([this] { s4u::Actor::on_termination(*ciface()); });
+ actor::simcall([this] { s4u::Actor::on_termination(*get_ciface()); });
context_->set_wannadie();
}
}
if (SMPI_switch_data_segment && not finished_) {
- SMPI_switch_data_segment(iface());
+ SMPI_switch_data_segment(get_iface());
}
}
actor->set_kill_time(arg.kill_time);
actor->set_auto_restart(arg.auto_restart);
- return actor->ciface();
+ return actor->get_ciface();
}
void ActorImpl::suspend()
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->ciface());
+ s4u::Actor::on_creation(*actor->get_ciface());
return ActorImplPtr(actor);
}
return simix_global->process_list.size();
}
-// XBT_DEPRECATED_v329
-void* SIMIX_process_self_get_data()
+void* SIMIX_process_self_get_data() // XBT_ATTRIB_DEPRECATED_v329
{
smx_actor_t self = simgrid::kernel::actor::ActorImpl::self();
return self->get_user_data();
}
-// XBT_DEPRECATED_v329
-void SIMIX_process_self_set_data(void* data)
+void SIMIX_process_self_set_data(void* data) // XBT_ATTRIB_DEPRECATED_v329
{
simgrid::kernel::actor::ActorImpl::self()->set_user_data(data);
}