Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
add actor-kill S4U example
[simgrid.git] / examples / s4u / actor-create / s4u_actor-create_d.xml
diff --git a/examples/s4u/actor-create/s4u_actor-create_d.xml b/examples/s4u/actor-create/s4u_actor-create_d.xml
new file mode 100644 (file)
index 0000000..6cdc3da
--- /dev/null
@@ -0,0 +1,15 @@
+<?xml version='1.0'?>
+<!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
+<platform version="4">
+
+  <!-- This a weird deployment file: we only start one actor from here and the others from the main().
+    -
+    -  This is only for the example, but don't do that at home.
+    -  Instead, you want to start all your actors from the deployment file.
+    -->
+   
+  <process host="Fafard" function="receiver">
+    <!-- Pass the right mailbox name to the actor -->
+    <argument value="mb42" />
+  </process>
+</platform>