-/* Copyright (c) 2009-2021. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2009-2022. 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. */
simgrid::s4u::Actor::kill_all();
- simgrid::s4u::Actor::create("sendpid", simgrid::s4u::Host::by_name("Tremblay"), sendpid);
- simgrid::s4u::Actor::create("sendpid", simgrid::s4u::Host::by_name("Tremblay"), sendpid);
- simgrid::s4u::Actor::create("sendpid", simgrid::s4u::Host::by_name("Tremblay"), sendpid);
- simgrid::s4u::Actor::create("killall", simgrid::s4u::Host::by_name("Tremblay"), killall);
+ simgrid::s4u::Actor::create("sendpid", e.host_by_name("Tremblay"), sendpid);
+ simgrid::s4u::Actor::create("sendpid", e.host_by_name("Tremblay"), sendpid);
+ simgrid::s4u::Actor::create("sendpid", e.host_by_name("Tremblay"), sendpid);
+ simgrid::s4u::Actor::create("killall", e.host_by_name("Tremblay"), killall);
e.run();