X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d6aa3c0dc9e3022f3a430092266d3aecdbe55402..c08252b4a41df047f461741e5129895106177ded:/teshsuite/s4u/host-on-off-actors/host-on-off-actors.cpp diff --git a/teshsuite/s4u/host-on-off-actors/host-on-off-actors.cpp b/teshsuite/s4u/host-on-off-actors/host-on-off-actors.cpp index 37fa23921d..0f8701db85 100644 --- a/teshsuite/s4u/host-on-off-actors/host-on-off-actors.cpp +++ b/teshsuite/s4u/host-on-off-actors/host-on-off-actors.cpp @@ -10,7 +10,7 @@ XBT_LOG_NEW_DEFAULT_CATEGORY(s4u_test, "Messages specific for this s4u example") int tasks_done = 0; -XBT_ATTRIB_NORETURN static void actor_daemon() +static void actor_daemon() { const simgrid::s4u::Host* host = simgrid::s4u::Host::current(); XBT_INFO(" Start daemon on %s (%f)", host->get_cname(), host->get_speed()); @@ -19,7 +19,7 @@ XBT_ATTRIB_NORETURN static void actor_daemon() simgrid::s4u::this_actor::execute(host->get_speed()); tasks_done++; } - XBT_INFO(" daemon done. See you!"); + xbt_die(" daemon done. See you!"); } static void commTX()