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
auto-restart daemons as daemons (untested)
[simgrid.git]
/
src
/
surf
/
HostImpl.cpp
diff --git
a/src/surf/HostImpl.cpp
b/src/surf/HostImpl.cpp
index
8fa9326
..
26acadd
100644
(file)
--- a/
src/surf/HostImpl.cpp
+++ b/
src/surf/HostImpl.cpp
@@
-132,10
+132,11
@@
void HostImpl::turn_on()
arg->properties.get(), nullptr);
if (arg->kill_time >= 0)
simcall_process_set_kill_time(actor, arg->kill_time);
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()
;
}
}
}
}
+
/** Kill all actors hosted here */
void HostImpl::turn_off()
{
/** Kill all actors hosted here */
void HostImpl::turn_off()
{