/* Now insert it in the global process list and in the process to run list */
simix_global->process_list[process->pid] = process;
/* Now insert it in the global process list and in the process to run list */
simix_global->process_list[process->pid] = process;
xbt_dynar_push_as(simix_global->process_to_run, smx_actor_t, process);
intrusive_ptr_add_ref(process);
xbt_dynar_push_as(simix_global->process_to_run, smx_actor_t, process);
intrusive_ptr_add_ref(process);
/* Now insert it in the global process list and in the process to run list */
simix_global->process_list[process->pid] = process;
/* Now insert it in the global process list and in the process to run list */
simix_global->process_list[process->pid] = process;
xbt_dynar_push_as(simix_global->process_to_run, smx_actor_t, process);
/* Tracing the process creation */
xbt_dynar_push_as(simix_global->process_to_run, smx_actor_t, process);
/* Tracing the process creation */
- THROWF(host_error, 0, "Host %s failed, you cannot sleep there.", host->cname());
+ THROWF(host_error, 0, "Host %s failed, you cannot sleep there.", host->getCname());
}
/** @brief Restart a process, starting it again from the beginning. */
smx_actor_t SIMIX_process_restart(smx_actor_t process, smx_actor_t issuer) {
}
/** @brief Restart a process, starting it again from the beginning. */
smx_actor_t SIMIX_process_restart(smx_actor_t process, smx_actor_t issuer) {
//retrieve the arguments of the old process
//FIXME: Factorize this with SIMIX_host_add_auto_restart_process ?
//retrieve the arguments of the old process
//FIXME: Factorize this with SIMIX_host_add_auto_restart_process ?