X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/96cedde3cdbc0b8ffc3f096a1b65d021b0226f99..39c935d6d5ee86d153f6f7e6a10d723ae7c57f6f:/examples/s4u/exec-remote/s4u-exec-remote.cpp diff --git a/examples/s4u/exec-remote/s4u-exec-remote.cpp b/examples/s4u/exec-remote/s4u-exec-remote.cpp index 4c0699cbb2..dc91d04720 100644 --- a/examples/s4u/exec-remote/s4u-exec-remote.cpp +++ b/examples/s4u/exec-remote/s4u-exec-remote.cpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2007-2019. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2007-2021. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -9,11 +9,11 @@ XBT_LOG_NEW_DEFAULT_CATEGORY(s4u_test, "Messages specific for this s4u example") static void wizard() { - simgrid::s4u::Host* fafard = simgrid::s4u::Host::by_name("Fafard"); + const simgrid::s4u::Host* fafard = simgrid::s4u::Host::by_name("Fafard"); simgrid::s4u::Host* ginette = simgrid::s4u::Host::by_name("Ginette"); simgrid::s4u::Host* boivin = simgrid::s4u::Host::by_name("Boivin"); - XBT_INFO("I'm a wizard! I can run a task on the Ginette host from the Fafard one! Look!"); + XBT_INFO("I'm a wizard! I can run an activity on the Ginette host from the Fafard one! Look!"); simgrid::s4u::ExecPtr exec = simgrid::s4u::this_actor::exec_init(48.492e6); exec->set_host(ginette); exec->start(); @@ -26,7 +26,7 @@ static void wizard() exec->wait(); XBT_INFO("Done!"); - XBT_INFO("And now, harder. Start a remote task on Ginette and move it to Boivin after 0.5 sec"); + XBT_INFO("And now, harder. Start a remote activity on Ginette and move it to Boivin after 0.5 sec"); exec = simgrid::s4u::this_actor::exec_init(73293500)->set_host(ginette); exec->start();