smx_host_priv_t smx_host = xbt_new0(s_smx_host_priv_t, 1);
/* Host structure */
- simgrid::simix::Process proc;
+ simgrid::simix::ActorImpl proc;
smx_host->process_list = xbt_swag_new(xbt_swag_offset(proc, host_proc_hookup));
/* Update global variables */
return;
}
-sg_host_t SIMIX_host_self(void)
+sg_host_t SIMIX_host_self()
{
smx_process_t process = SIMIX_process_self();
return (process == nullptr) ? nullptr : process->host;
}
/* needs to be public and without simcall for exceptions and logging events */
-const char* SIMIX_host_self_get_name(void)
+const char* SIMIX_host_self_get_name()
{
sg_host_t host = SIMIX_host_self();
if (host == nullptr || SIMIX_process_self() == simix_global->maestro_process)