X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d43e84e981024537b56f15f7dcc937b0202cad2b..03ce6a2e7863fe994d12ca8ab9141b4f6fdb5f8e:/src/surf/HostImpl.cpp diff --git a/src/surf/HostImpl.cpp b/src/surf/HostImpl.cpp index 8fa93261b5..401ee6d664 100644 --- a/src/surf/HostImpl.cpp +++ b/src/surf/HostImpl.cpp @@ -134,8 +134,11 @@ void HostImpl::turn_on() 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() {