Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
rename the basic s4u example to 'launching'
[simgrid.git] / examples / s4u / basic / s4u_basic_function.cpp
diff --git a/examples/s4u/basic/s4u_basic_function.cpp b/examples/s4u/basic/s4u_basic_function.cpp
deleted file mode 100644 (file)
index 9759056..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-/* Copyright (c) 2006-2016. 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. */
-
-#include <string>
-#include <vector>
-
-#include <xbt/sysdep.h>
-
-#include <simgrid/s4u.h>
-
-#include "s4u_basic.h"
-
-int main(int argc, char **argv) {
-  simgrid::s4u::Engine *e = new simgrid::s4u::Engine(&argc,argv);
-  e->loadPlatform("../../platforms/two_hosts.xml");
-  e->registerFunction<Worker>("worker");
-  e->registerFunction<Master>("master");
-  std::vector<std::string> args;
-  simgrid::s4u::Actor::createActor("worker", simgrid::s4u::Host::by_name("Tremblay"), "worker", args);
-  simgrid::s4u::Actor::createActor("master", simgrid::s4u::Host::by_name("Jupiter"), "master", args);
-  e->run();
-  return 0;
-}