A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
kill another old-fashioned simcall
[simgrid.git]
/
src
/
simix
/
smx_host.cpp
diff --git
a/src/simix/smx_host.cpp
b/src/simix/smx_host.cpp
index
18e9829
..
bc6c5a7
100644
(file)
--- a/
src/simix/smx_host.cpp
+++ b/
src/simix/smx_host.cpp
@@
-63,7
+63,7
@@
namespace simgrid {
if (arg->kill_time >= 0)
simcall_process_set_kill_time(actor, arg->kill_time);
if (arg->auto_restart)
if (arg->kill_time >= 0)
simcall_process_set_kill_time(actor, arg->kill_time);
if (arg->auto_restart)
-
simcall_process_auto_restart_set(actor, arg->auto_restart)
;
+
actor->auto_restart = arg->auto_restart
;
}
}
}
}
@@
-147,7
+147,7
@@
void SIMIX_host_autorestart(sg_host_t host)
if (arg->kill_time >= 0)
simcall_process_set_kill_time(actor, arg->kill_time);
if (arg->auto_restart)
if (arg->kill_time >= 0)
simcall_process_set_kill_time(actor, arg->kill_time);
if (arg->auto_restart)
-
simcall_process_auto_restart_set(actor, arg->auto_restart)
;
+
actor->auto_restart = arg->auto_restart
;
}
process_list.clear();
}
}
process_list.clear();
}