Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
replace SIMIX_process_auto_restart_set() with ActorImpl::set_auto_restart()
[simgrid.git] / src / simix / ActorImpl.cpp
index 943889d..55cd833 100644 (file)
@@ -771,14 +771,6 @@ void SIMIX_process_on_exit(smx_actor_t process, std::function<void(int, void*)>
   process->on_exit.emplace_back(s_smx_process_exit_fun_t{fun, data});
 }
 
-/**
- * \brief Sets the auto-restart status of the process.
- * If set to 1, the process will be automatically restarted when its host comes back.
- */
-void SIMIX_process_auto_restart_set(smx_actor_t process, int auto_restart) {
-  process->auto_restart_ = auto_restart;
-}
-
 /** @brief Restart a process, starting it again from the beginning. */
 /**
  * \ingroup simix_process_management