Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Make the future simgrid::*Exception inherit of legacy xbt_ex
[simgrid.git] / src / surf / HostImpl.cpp
index 26acadd..401ee6d 100644 (file)
@@ -132,6 +132,8 @@ void HostImpl::turn_on()
                                                               arg->properties.get(), nullptr);
     if (arg->kill_time >= 0)
       simcall_process_set_kill_time(actor, arg->kill_time);
+    if (arg->auto_restart)
+      actor->auto_restart_ = arg->auto_restart;
     if (arg->daemon_)
       actor->daemonize();
   }