static void victimA_fun()
{
- simgrid::s4u::this_actor::onExit(on_exit, nullptr);
+ simgrid::s4u::this_actor::on_exit(on_exit, nullptr);
XBT_INFO("Hello!");
XBT_INFO("Suspending myself");
simgrid::s4u::this_actor::suspend(); /* - Start by suspending itself */
simgrid::s4u::Engine e(&argc, argv);
xbt_assert(argc == 2, "Usage: %s platform_file\n\tExample: %s msg_platform.xml\n", argv[0], argv[0]);
- e.loadPlatform(argv[1]); /* - Load the platform description */
+ e.load_platform(argv[1]); /* - Load the platform description */
/* - Create and deploy killer process, that will create the victim actors */
simgrid::s4u::Actor::create("killer", simgrid::s4u::Host::by_name("Tremblay"), killer);