process->data = data;
}
-sg_host_t SIMIX_process_get_host(smx_process_t process)
-{
- return process->host;
-}
-
/* needs to be public and without simcall because it is called
by exceptions and logging events */
const char* SIMIX_process_self_get_name() {
if (process == nullptr || process == simix_global->maestro_process)
return "maestro";
- return SIMIX_process_get_name(process);
-}
-
-const char* SIMIX_process_get_name(smx_process_t process)
-{
return process->name.c_str();
}